public function init() { // parent initializer parent::init(); // atache before render to stop render if not in group $this->on(self::EVENT_BEFORE_RENDER, [$this, 'eventBeforeRender']); }
public function init() { // parent initializer parent::init(); // check if the current menu item does have this group //var_dump($this->getValue()); }