/** * {@inheritdoc} */ public function getConfiguration() { $configuration = parent::getConfiguration(); // We need to update the configuration in case conditions have been added or // changed. $configuration['conditions'] = []; foreach ($this->conditions as $uuid => $condition) { $configuration['conditions'][$uuid] = $condition->getConfiguration(); } return $configuration; }
/** * {@inheritdoc} */ public function getConfiguration() { $configuration = parent::getConfiguration(); // We need to update the configuration in case actions/conditions have been // added or changed. $configuration['conditions'] = $this->conditions->getConfiguration(); $configuration['actions'] = $this->actions->getConfiguration(); return $configuration; }