Exemple #1
0
 /**
  * @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);
 }
Exemple #2
0
 /**
  * @inheritdoc
  */
 public function register($owner, $itemComponent, $systemId = null)
 {
     $item = parent::register($owner, $itemComponent, $systemId);
     $this->_lastLoadedTheme = $item;
     return $item;
 }