Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
AttributeOptionInterface.php
Go to the documentation of this file.
1 <?php
7 namespace Magento\Eav\Api\Data;
8 
16 {
20  const LABEL = 'label';
21 
22  const VALUE = 'value';
23 
24  const SORT_ORDER = 'sort_order';
25 
26  const STORE_LABELS = 'store_labels';
27 
28  const IS_DEFAULT = 'is_default';
29 
35  public function getLabel();
36 
43  public function setLabel($label);
44 
50  public function getValue();
51 
58  public function setValue($value);
59 
65  public function getSortOrder();
66 
73  public function setSortOrder($sortOrder);
74 
80  public function getIsDefault();
81 
88  public function setIsDefault($isDefault);
89 
95  public function getStoreLabels();
96 
103  public function setStoreLabels(array $storeLabels = null);
104 }
$label
Definition: details.phtml:21
$value
Definition: gender.phtml:16