public function init()
 {
     if ($this->allowRobots) {
         $robots = ['robots' => 'index, follow', 'revisit-after' => '7 day'];
     } else {
         $robots = ['robots' => 'noindex, nofollow'];
     }
     $defaults = ArrayHelper::merge($this->defaults, $robots);
     $this->_all = array_filter(ArrayHelper::merge($defaults, $this->site->getSeoData(), (array) $this->item->getSeoData()));
     return parent::init();
 }
 public function init()
 {
     if (!$this->prefix) {
         throw new InvalidConfigException('Please override prefix attribute', 1);
     }
     if (!$this->attribute) {
         throw new InvalidConfigException('Please override meta tag attribute', 1);
     }
     if (!$this->allowedTags) {
         $this->allowedTags = ArrayHelper::merge(array_keys($this->defaults), array_keys($this->globals));
     }
     $defaults = ArrayHelper::merge($this->defaults, $this->globals);
     $this->_all = array_filter(ArrayHelper::merge($defaults, $this->site->getSeoData(), (array) $this->item->getSeoData()));
     return parent::init();
 }
 public function init()
 {
     $this->_all = ArrayHelper::merge($this->defaults, $this->site->getSeoData(), (array) $this->item->getSeoData());
     return parent::init();
 }