public function getMenu()
    {
        if (!$this->menu) {

            foreach ($this->getAllMenus() as $menu) {
                $menu->configureAdminMenu($this);
            }
        }

        return parent::getMenu();
    }
public function getMenu()
    {
        if (!$this->menu) {

            foreach ($this->getAllMenus() as $menu) {
                $menu->configureAdminMenu($this);
            }
        }

        return parent::getMenu();
    }
public function getMenu ( ) { if ( ! $ this -> menu ) { foreach ( $ this -> getAllMenus ( ) as $ menu ) { $ menu -> configureAdminMenu ( $ this ) ; } } return parent :: getMenu ( ) ; }
Triggers the Menu.MenuAdmin.addItems hook and returns the admin menu.

@return Array
Triggers the Menu . MenuAdmin . addItems hook and returns the admin menu .