EavAttributeInterface
Magento\Catalog\Api\Data\EavAttributeInterface
What it does
This interface defines the contract for catalog product attributes in Magento 2, extending the base EAV attribute functionality with catalog-specific properties.
Developers use this interface when working with product attributes to access or modify settings like searchability, filterability in layered navigation, usage in product grids, WYSIWYG capabilities, and frontend visibility.
It provides getters and setters for all catalog-specific attribute configurations used throughout the product management system.
Public Methods
- getIsWysiwygEnabled()
- setIsWysiwygEnabled()
- getIsHtmlAllowedOnFront()
- setIsHtmlAllowedOnFront()
- getUsedForSortBy()
- setUsedForSortBy()
- getIsFilterable()
- setIsFilterable()
- getIsFilterableInSearch()
- getIsUsedInGrid()
- getIsVisibleInGrid()
- getIsFilterableInGrid()
- setIsUsedInGrid()
- setIsVisibleInGrid()
- setIsFilterableInGrid()
- setIsFilterableInSearch()
- getPosition()
- setPosition()
- getApplyTo()
- setApplyTo()
- getIsSearchable()
- setIsSearchable()
- getIsVisibleInAdvancedSearch()
- setIsVisibleInAdvancedSearch()
- getIsComparable()
- setIsComparable()
- getIsUsedForPromoRules()
- setIsUsedForPromoRules()
- getIsVisibleOnFront()
- setIsVisibleOnFront()
- getUsedInProductListing()
- setUsedInProductListing()
- getIsVisible()
- setIsVisible()
- getScope()
- setScope()
- getExtensionAttributes()