Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Scopes.php
Go to the documentation of this file.
1 <?php
7 
8 use \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface;
9 
11 {
15  public function toOptionArray()
16  {
17  return [
18  [
20  'label' => __('Store View'),
21  ],
22  [
24  'label' => __('Web Site'),
25  ],
26  [
28  'label' => __('Global'),
29  ],
30  ];
31  }
32 }
__()
Definition: __.php:13