Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function getListOfAttributesByAttibuteSetID($attributeSetId)
- {
- $sortOrder = $this->_sortOrderBuilder
- ->setField('sort_order')
- ->setAscendingDirection()
- ->create();
- $searchCriteria = $this->_searchCriteriaBuilder
- ->addFilter(MagentoEavApiDataAttributeGroupInterface::ATTRIBUTE_SET_ID, $attributeSetId)
- ->addSortOrder($sortOrder)
- ->create();
- $groupAttributes = $this->_attributeRepository->getList($searchCriteria)->getItems();
- return $groupAttributes;
- }
Add Comment
Please, Sign In to add comment