/** * @inheritdoc */ public function register($owner, $itemComponent, $systemId = null) { if ($itemComponent instanceof Module) { return parent::register($owner, $itemComponent->settings, $systemId); } return parent::register($owner, $itemComponent, $systemId); }
/** * @inheritdoc */ public function register($owner, $itemComponent, $systemId = null) { $item = parent::register($owner, $itemComponent, $systemId); $this->_lastLoadedTheme = $item; return $item; }