Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-newsletter
Block
Subscribe
Grid
Options
GroupOptionHash.php
Go to the documentation of this file.
1
<?php
8
namespace
Magento\Newsletter\Block\Subscribe\Grid\Options
;
9
10
class
GroupOptionHash
implements
\Magento\Framework\Option\ArrayInterface
11
{
17
protected
$_systemStore
;
18
22
public
function
__construct
(\
Magento
\Store\Model\System\Store $systemStore)
23
{
24
$this->_systemStore = $systemStore;
25
}
26
32
public
function
toOptionArray
()
33
{
34
return
$this->_systemStore->getStoreGroupOptionHash();
35
}
36
}
Magento\Newsletter\Block\Subscribe\Grid\Options\GroupOptionHash\__construct
__construct(\Magento\Store\Model\System\Store $systemStore)
Definition:
GroupOptionHash.php:22
Magento\Newsletter\Block\Subscribe\Grid\Options\GroupOptionHash\toOptionArray
toOptionArray()
Definition:
GroupOptionHash.php:32
Magento\Newsletter\Block\Subscribe\Grid\Options
Definition:
GroupOptionHash.php:8
Magento\Framework\Option\ArrayInterface
Definition:
ArrayInterface.php:11
Magento
Magento\Newsletter\Block\Subscribe\Grid\Options\GroupOptionHash
Definition:
GroupOptionHash.php:10
Magento\Newsletter\Block\Subscribe\Grid\Options\GroupOptionHash\$_systemStore
$_systemStore
Definition:
GroupOptionHash.php:17