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-bundle
Helper
Data.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Bundle\Helper
;
7
13
class
Data
extends
\Magento\Framework\App\Helper\AbstractHelper
14
{
18
protected
$config
;
19
24
public
function
__construct
(
25
\
Magento
\Framework\
App
\Helper\
Context
$context,
26
\
Magento
\Catalog\Model\
ProductTypes
\ConfigInterface
$config
27
) {
28
$this->config =
$config
;
29
parent::__construct($context);
30
}
31
37
public
function
getAllowedSelectionTypes
()
38
{
39
$configData
= $this->config->getType(\
Magento
\Catalog\Model\Product\Type::TYPE_BUNDLE);
40
41
return
isset(
$configData
[
'allowed_selection_types'
]) ?
$configData
[
'allowed_selection_types'
] : [];
42
}
43
}
Magento\Framework\App
Magento\Bundle\Helper\Data\$config
$config
Definition:
Data.php:18
Magento\Bundle\Helper\Data
Definition:
Data.php:13
Magento\Bundle\Helper\Data\__construct
__construct(\Magento\Framework\App\Helper\Context $context, \Magento\Catalog\Model\ProductTypes\ConfigInterface $config)
Definition:
Data.php:24
$configData
$configData
Definition:
payment_configuration.php:26
Magento
Magento\Bundle\Helper
Context
Definition:
ClassesForConstructorIntegrity.php:33
Magento\Framework\App\Helper\AbstractHelper
Definition:
AbstractHelper.php:13
Magento\Bundle\Helper\Data\getAllowedSelectionTypes
getAllowedSelectionTypes()
Definition:
Data.php:37
Magento\Catalog\Model\Product\Type
Definition:
AbstractTypeTest.php:7