actions = $actions; } /** * @inheritDoc */ public function prepare() { if (!empty($this->actions)) { $this->setData('config', array_replace_recursive(['actions' => $this->actions], $this->getConfiguration())); } parent::prepare(); } /** * Get component name * * @return string */ public function getComponentName() { return static::NAME; } }