Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
getList (\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria) | |
get ($attributeCode) | |
save (\Magento\Catalog\Api\Data\ProductAttributeInterface $attribute) | |
delete (\Magento\Catalog\Api\Data\ProductAttributeInterface $attribute) | |
deleteById ($attributeCode) | |
![]() | |
getCustomAttributesMetadata ($dataObjectClassName=null) | |
Interface RepositoryInterface must be implemented in new model @api
Definition at line 14 of file ProductAttributeRepositoryInterface.php.
delete | ( | \Magento\Catalog\Api\Data\ProductAttributeInterface | $attribute | ) |
Delete Attribute
\Magento\Catalog\Api\Data\ProductAttributeInterface | $attribute |
Implemented in Repository.
deleteById | ( | $attributeCode | ) |
Delete Attribute by id
string | $attributeCode |
Implemented in Repository.
get | ( | $attributeCode | ) |
Retrieve specific attribute
string | $attributeCode |
Implemented in Repository.
getList | ( | \Magento\Framework\Api\SearchCriteriaInterface | $searchCriteria | ) |
Retrieve all attributes for entity type
\Magento\Framework\Api\SearchCriteriaInterface | $searchCriteria |
save | ( | \Magento\Catalog\Api\Data\ProductAttributeInterface | $attribute | ) |
Save attribute data
\Magento\Catalog\Api\Data\ProductAttributeInterface | $attribute |
Implemented in Repository.