Interface
AttributeMetadataInterface
Magento\Customer\Api\Data\AttributeMetadataInterface
What it does
This interface defines the contract for customer attribute metadata, providing methods to get and set properties like frontend input type, validation rules, visibility, labels, and grid display settings.
Developers use this when working with custom customer attributes or extending customer data structures, such as configuring how attributes appear in forms, grids, or applying validation rules.
Public Methods
- getFrontendInput()
- setFrontendInput()
- getInputFilter()
- setInputFilter()
- getStoreLabel()
- setStoreLabel()
- getValidationRules()
- setValidationRules()
- getMultilineCount()
- setMultilineCount()
- isVisible()
- setIsVisible()
- isRequired()
- setIsRequired()
- getDataModel()
- setDataModel()
- getOptions()
- setOptions()
- getFrontendClass()
- setFrontendClass()
- isUserDefined()
- setIsUserDefined()
- getSortOrder()
- setSortOrder()
- getFrontendLabel()
- setFrontendLabel()
- getNote()
- setNote()
- isSystem()
- setIsSystem()
- getBackendType()
- setBackendType()
- getIsUsedInGrid()
- getIsVisibleInGrid()
- getIsFilterableInGrid()
- getIsSearchableInGrid()
- setIsUsedInGrid()
- setIsVisibleInGrid()
- setIsFilterableInGrid()
- setIsSearchableInGrid()