Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Remove.php
Go to the documentation of this file.
1 <?php
7 
13 class Remove extends \Magento\Backend\Model\Menu\Builder\AbstractCommand
14 {
21  protected function _execute(array $itemParams)
22  {
23  $itemParams['id'] = $this->getId();
24  $itemParams['removed'] = true;
25  return $itemParams;
26  }
27 }