Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (\Magento\Config\Model\Config\Structure\SearchInterface $configStructure, array $configPaths=[]) | |
toOptionArray ($withGroup=false) | |
getData () | |
![]() | |
toOptionArray () | |
Data Fields | |
const | DEFAULT_VARIABLE_TYPE = "default" |
const | CUSTOM_VARIABLE_TYPE = "custom" |
Store Contact Information source model.
Definition at line 11 of file Variables.php.
__construct | ( | \Magento\Config\Model\Config\Structure\SearchInterface | $configStructure, |
array | $configPaths = [] |
||
) |
Constructor.
\Magento\Config\Model\Config\Structure\SearchInterface | $configStructure | |
array | $configPaths |
Definition at line 42 of file Variables.php.
getData | ( | ) |
Return available config variables.
Definition at line 93 of file Variables.php.
toOptionArray | ( | $withGroup = false | ) |
Retrieve option array of store contact variables.
bool | $withGroup |
Definition at line 56 of file Variables.php.
const CUSTOM_VARIABLE_TYPE = "custom" |
Definition at line 17 of file Variables.php.
const DEFAULT_VARIABLE_TYPE = "default" |
Variable types
Definition at line 16 of file Variables.php.