Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
toOptionArray () | |
Data Fields | |
const | PERMANENT = 301 |
const | TEMPORARY = 302 |
@codeCoverageIgnore
Definition at line 15 of file OptionProvider.php.
toOptionArray | ( | ) |
{Return array of options as value-label pairs
', 'label' => '<label>'), ...)}
Implements OptionSourceInterface.
Definition at line 30 of file OptionProvider.php.
const PERMANENT = 301 |
Permanent redirect code
Definition at line 20 of file OptionProvider.php.
const TEMPORARY = 302 |
Redirect code
Definition at line 25 of file OptionProvider.php.