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-ui
Component
MassAction.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Ui\Component
;
7
12
class
MassAction
extends
AbstractComponent
13
{
14
const
NAME
=
'massaction'
;
15
19
public
function
prepare
()
20
{
21
$config
= $this->
getConfiguration
();
22
23
foreach
($this->
getChildComponents
() as $actionComponent) {
24
$config
[
'actions'
][] = $actionComponent->getConfiguration();
25
}
26
27
$origConfig = $this->
getConfiguration
();
28
if
($origConfig !==
$config
) {
29
$config
= array_replace_recursive(
$config
, $origConfig);
30
}
31
32
$this->
setData
(
'config'
,
$config
);
33
$this->components = [];
34
35
parent::prepare();
36
}
37
43
public
function
getComponentName
()
44
{
45
return
static::NAME;
46
}
47
}
Magento\Ui\Component\AbstractComponent
Definition:
AbstractComponent.php:24
$config
$config
Definition:
fraud_order.php:17
Magento\Ui\Component\MassAction
Definition:
MassAction.php:12
Magento\Ui\Component\MassAction\prepare
prepare()
Definition:
MassAction.php:19
Magento\Ui\Component\AbstractComponent\setData
setData($key, $value=null)
Definition:
AbstractComponent.php:252
Magento\Ui\Component\MassAction\getComponentName
getComponentName()
Definition:
MassAction.php:43
Magento\Ui\Component\AbstractComponent\getConfiguration
getConfiguration()
Definition:
AbstractComponent.php:224
Magento\Ui\Component\AbstractComponent\getChildComponents
getChildComponents()
Definition:
AbstractComponent.php:189
Magento\Ui\Component
Definition:
ConfigurationTest.php:6
Magento\Ui\Component\MassAction\NAME
const NAME
Definition:
MassAction.php:14