@api
- Since
- 100.0.2
Definition at line 13 of file EavAttributeInterface.php.
◆ getApplyTo()
Get apply to value for the element
Apply to. Empty for "Apply to all" or array of the following possible values:
- 'simple',
- 'grouped',
- 'configurable',
- 'virtual',
- 'bundle',
- 'downloadable'
- Returns
- string[]|null
Implemented in Attribute, and Attribute.
◆ getExtensionAttributes()
getExtensionAttributes |
( |
| ) |
|
◆ getIsComparable()
Whether the attribute can be compared on the frontend
- Returns
- string|null
Implemented in Attribute, and Attribute.
◆ getIsFilterable()
Whether it used in layered navigation
- Returns
- bool|null
Implemented in Attribute, and Attribute.
◆ getIsFilterableInGrid()
getIsFilterableInGrid |
( |
| ) |
|
Whether it is filterable in catalog product grid
- Returns
- bool|null
Implemented in Attribute, and Attribute.
◆ getIsFilterableInSearch()
getIsFilterableInSearch |
( |
| ) |
|
Whether it is used in search results layered navigation
- Returns
- bool|null
Implemented in Attribute, and Attribute.
◆ getIsHtmlAllowedOnFront()
getIsHtmlAllowedOnFront |
( |
| ) |
|
Whether the HTML tags are allowed on the frontend
- Returns
- bool|null
Implemented in Attribute, and Attribute.
◆ getIsSearchable()
◆ getIsUsedForPromoRules()
getIsUsedForPromoRules |
( |
| ) |
|
Whether the attribute can be used for promo rules
- Returns
- string|null
Implemented in Attribute, and Attribute.
◆ getIsUsedInGrid()
Whether it is used in catalog product grid
- Returns
- bool|null
Implemented in Attribute, and Attribute.
◆ getIsVisible()
Whether attribute is visible on frontend.
- Returns
- bool|null
Implemented in Attribute, and Attribute.
◆ getIsVisibleInAdvancedSearch()
getIsVisibleInAdvancedSearch |
( |
| ) |
|
◆ getIsVisibleInGrid()
Whether it is visible in catalog product grid
- Returns
- bool|null
Implemented in Attribute, and Attribute.
◆ getIsVisibleOnFront()
Whether the attribute is visible on the frontend
- Returns
- string|null
Implemented in Attribute, and Attribute.
◆ getIsWysiwygEnabled()
◆ getPosition()
◆ getScope()
◆ getUsedForSortBy()
Whether it is used for sorting in product listing
- Returns
- bool|null
Implemented in Attribute, and Attribute.
◆ getUsedInProductListing()
getUsedInProductListing |
( |
| ) |
|
Whether the attribute can be used in product listing
- Returns
- string|null
Implemented in Attribute, and Attribute.
◆ setApplyTo()
Set apply to value for the element
- Parameters
-
- Returns
- $this
Implemented in Attribute, and Attribute.
◆ setIsComparable()
setIsComparable |
( |
|
$isComparable | ) |
|
Set whether the attribute can be compared on the frontend
- Parameters
-
- Returns
- $this
Implemented in Attribute, and Attribute.
◆ setIsFilterable()
setIsFilterable |
( |
|
$isFilterable | ) |
|
Set whether it used in layered navigation
- Parameters
-
- Returns
- $this
Implemented in Attribute, and Attribute.
◆ setIsFilterableInGrid()
setIsFilterableInGrid |
( |
|
$isFilterableInGrid | ) |
|
Set is attribute filterable in grid
- Parameters
-
bool | null | $isFilterableInGrid | |
- Returns
- $this
- Since
- 102.0.0
Implemented in Attribute, and Attribute.
◆ setIsFilterableInSearch()
setIsFilterableInSearch |
( |
|
$isFilterableInSearch | ) |
|
Set whether it is used in search results layered navigation
- Parameters
-
bool | $isFilterableInSearch | |
- Returns
- $this
Implemented in Attribute, and Attribute.
◆ setIsHtmlAllowedOnFront()
setIsHtmlAllowedOnFront |
( |
|
$isHtmlAllowedOnFront | ) |
|
Set whether the HTML tags are allowed on the frontend
- Parameters
-
bool | $isHtmlAllowedOnFront | |
- Returns
- $this
Implemented in Attribute, and Attribute.
◆ setIsSearchable()
setIsSearchable |
( |
|
$isSearchable | ) |
|
◆ setIsUsedForPromoRules()
setIsUsedForPromoRules |
( |
|
$isUsedForPromoRules | ) |
|
Set whether the attribute can be used for promo rules
- Parameters
-
string | $isUsedForPromoRules | |
- Returns
- $this
Implemented in Attribute, and Attribute.
◆ setIsUsedInGrid()
setIsUsedInGrid |
( |
|
$isUsedInGrid | ) |
|
Set is attribute used in grid
- Parameters
-
- Returns
- $this
- Since
- 102.0.0
Implemented in Attribute, and Attribute.
◆ setIsVisible()
setIsVisible |
( |
|
$isVisible | ) |
|
Set whether attribute is visible on frontend.
- Parameters
-
- Returns
- $this
Implemented in Attribute, and Attribute.
◆ setIsVisibleInAdvancedSearch()
setIsVisibleInAdvancedSearch |
( |
|
$isVisibleInAdvancedSearch | ) |
|
Set whether the attribute can be used in Advanced Search
- Parameters
-
string | $isVisibleInAdvancedSearch | |
- Returns
- $this
Implemented in Attribute, and Attribute.
◆ setIsVisibleInGrid()
setIsVisibleInGrid |
( |
|
$isVisibleInGrid | ) |
|
Set is attribute visible in grid
- Parameters
-
bool | null | $isVisibleInGrid | |
- Returns
- $this
- Since
- 102.0.0
Implemented in Attribute, and Attribute.
◆ setIsVisibleOnFront()
setIsVisibleOnFront |
( |
|
$isVisibleOnFront | ) |
|
Set whether the attribute is visible on the frontend
- Parameters
-
- Returns
- $this
Implemented in Attribute, and Attribute.
◆ setIsWysiwygEnabled()
setIsWysiwygEnabled |
( |
|
$isWysiwygEnabled | ) |
|
Set whether WYSIWYG is enabled flag
- Parameters
-
- Returns
- $this
Implemented in Attribute, and Attribute.
◆ setPosition()
◆ setScope()
◆ setUsedForSortBy()
setUsedForSortBy |
( |
|
$usedForSortBy | ) |
|
Set whether it is used for sorting in product listing
- Parameters
-
- Returns
- $this
Implemented in Attribute, and Attribute.
◆ setUsedInProductListing()
setUsedInProductListing |
( |
|
$usedInProductListing | ) |
|
Set whether the attribute can be used in product listing
- Parameters
-
string | $usedInProductListing | |
- Returns
- $this
Implemented in Attribute, and Attribute.
◆ APPLY_TO
const APPLY_TO = 'apply_to' |
◆ IS_COMPARABLE
const IS_COMPARABLE = 'is_comparable' |
◆ IS_FILTERABLE
const IS_FILTERABLE = 'is_filterable' |
◆ IS_FILTERABLE_IN_GRID
const IS_FILTERABLE_IN_GRID = 'is_filterable_in_grid' |
◆ IS_FILTERABLE_IN_SEARCH
const IS_FILTERABLE_IN_SEARCH = 'is_filterable_in_search' |
◆ IS_HTML_ALLOWED_ON_FRONT
const IS_HTML_ALLOWED_ON_FRONT = 'is_html_allowed_on_front' |
◆ IS_SEARCHABLE
const IS_SEARCHABLE = 'is_searchable' |
◆ IS_USED_FOR_PROMO_RULES
const IS_USED_FOR_PROMO_RULES = 'is_used_for_promo_rules' |
◆ IS_USED_IN_GRID
const IS_USED_IN_GRID = 'is_used_in_grid' |
◆ IS_VISIBLE
const IS_VISIBLE = 'is_visible' |
◆ IS_VISIBLE_IN_ADVANCED_SEARCH
const IS_VISIBLE_IN_ADVANCED_SEARCH = 'is_visible_in_advanced_search' |
◆ IS_VISIBLE_IN_GRID
const IS_VISIBLE_IN_GRID = 'is_visible_in_grid' |
◆ IS_VISIBLE_ON_FRONT
const IS_VISIBLE_ON_FRONT = 'is_visible_on_front' |
◆ IS_WYSIWYG_ENABLED
const IS_WYSIWYG_ENABLED = 'is_wysiwyg_enabled' |
◆ POSITION
const POSITION = 'position' |
◆ SCOPE_GLOBAL_TEXT
const SCOPE_GLOBAL_TEXT = 'global' |
◆ SCOPE_STORE_TEXT
const SCOPE_STORE_TEXT = 'store' |
◆ SCOPE_WEBSITE_TEXT
const SCOPE_WEBSITE_TEXT = 'website' |
◆ USED_FOR_SORT_BY
const USED_FOR_SORT_BY = 'used_for_sort_by' |
◆ USED_IN_PRODUCT_LISTING
const USED_IN_PRODUCT_LISTING = 'used_in_product_listing' |
The documentation for this interface was generated from the following file: