![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/module-ui/Component/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Ui\Component; /** * Mass action UI component. * * @api * @since 100.0.2 */ class MassAction extends AbstractComponent { const NAME = 'massaction'; /** * @inheritDoc */ public function prepare() { $config = $this->getConfiguration(); foreach ($this->getChildComponents() as $actionComponent) { $componentConfig = $actionComponent->getConfiguration(); $disabledAction = $componentConfig['actionDisable'] ?? false; if ($disabledAction) { continue; } $config['actions'][] = $componentConfig; } $origConfig = $this->getConfiguration(); if ($origConfig !== $config) { $config = array_replace_recursive($config, $origConfig); } $this->setData('config', $config); $this->components = []; parent::prepare(); } /** * Get component name * * @return string */ public function getComponentName() { return static::NAME; } }