Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (Context $context, ItemFactory $itemFactory) | |
getToolbar () | |
add ($key, array $data, UiComponentInterface $component) | |
remove ($key) | |
update ($key, array $data) | |
addHtmlBlock ($type, $name='', array $arguments=[]) | |
Data Fields | |
const | ACTIONS_PAGE_TOOLBAR = 'page.actions.toolbar' |
Protected Member Functions | |
createContainer ($key, UiComponentInterface $view) | |
Protected Attributes | |
$context | |
$items | |
$itemFactory | |
$toolbarBlock | |
Class ActionPool
Definition at line 17 of file ActionPool.php.
__construct | ( | Context | $context, |
ItemFactory | $itemFactory | ||
) |
Construct
Context | $context | |
ItemFactory | $itemFactory |
Definition at line 56 of file ActionPool.php.
add | ( | $key, | |
array | $data, | ||
UiComponentInterface | $component | ||
) |
Add button
string | $key | |
array | $data | |
UiComponentInterface | $component |
Implements ActionPoolInterface.
Definition at line 82 of file ActionPool.php.
addHtmlBlock | ( | $type, | |
$name = '' , |
|||
array | $arguments = [] |
||
) |
Add html block
string | $type | |
string | $name | |
array | $arguments |
Implements ActionPoolInterface.
Definition at line 128 of file ActionPool.php.
|
protected |
Create button container
string | $key | |
UiComponentInterface | $view |
Definition at line 144 of file ActionPool.php.
getToolbar | ( | ) |
Get toolbar block
Implements ActionPoolInterface.
Definition at line 67 of file ActionPool.php.
remove | ( | $key | ) |
Remove button
string | $key |
Implements ActionPoolInterface.
Definition at line 101 of file ActionPool.php.
update | ( | $key, | |
array | $data | ||
) |
Update button
string | $key | |
array | $data |
Implements ActionPoolInterface.
Definition at line 113 of file ActionPool.php.
|
protected |
Definition at line 29 of file ActionPool.php.
|
protected |
Definition at line 43 of file ActionPool.php.
|
protected |
Definition at line 36 of file ActionPool.php.
|
protected |
Definition at line 48 of file ActionPool.php.
const ACTIONS_PAGE_TOOLBAR = 'page.actions.toolbar' |
Actions toolbar block name
Definition at line 22 of file ActionPool.php.