ask-sheldon.com
Find and reference standard attribute types in Akeneo code | Bravehartk2's Blog
All standard attribute types available in Akeneo are listed in “\Akeneo\Pim\Structure\Component\AttributeTypes” (File: src/Akeneo/Pim/Structure/Component/AttributeTypes.php). [crayon-5e28f4d05c98b104617450/] In you own code you could (and should) reference these types instead of using strings. For example lets say you want to delete attributes by an array of attribute codes but you want to skip identifier attributes from deletion. [crayon-5e28f4d05c998331779212/]