getConfiguration(); foreach ($this->getChildComponents() as $actionComponent) { $config['actions'][] = $actionComponent->getConfiguration(); } $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; } }