Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
getAttributeCode () | |
setAttributeCode ($attributeCode) | |
![]() | |
__construct (array $data=[]) | |
setData ($key, $value) | |
__toArray () | |
Data Fields | |
const | ATTRIBUTE_CODE = 'attribute_code' |
Additional Inherited Members | |
![]() | |
_get ($key) | |
![]() | |
$_data | |
Base data object for custom attribute metadata
Definition at line 12 of file AttributeMetadata.php.
getAttributeCode | ( | ) |
Retrieve code of the attribute.
Implements MetadataObjectInterface.
Definition at line 21 of file AttributeMetadata.php.
setAttributeCode | ( | $attributeCode | ) |
Set code of the attribute.
string | $attributeCode |
Implements MetadataObjectInterface.
Definition at line 32 of file AttributeMetadata.php.
const ATTRIBUTE_CODE = 'attribute_code' |
Definition at line 14 of file AttributeMetadata.php.