INTERFACE Magento 2.4.9
CustomAttributeMetadataInterface
An interface containing fields that define the EAV attribute.
Declared or extended by: Eav
Fields
code ID! Required
The unique identifier for an attribute code. This value should be in lowercase letters without spaces.
label String
The label assigned to the attribute.
The type of entity that defines the attribute.
frontend_input AttributeFrontendInputEnum
The frontend input type of the attribute.
frontend_class String
The frontend class of the attribute.
is_required Boolean! Required
Whether the attribute value is required.
default_value String
Default attribute value.
is_unique Boolean! Required
Whether the attribute value must be unique.
Attribute options.
Every Magento dev tool, in one hosted workspace.
Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.