src/components/AdminMenuBuilder.php
public function node($name, $icon, $template = false)
    {
        $this->_pointers['node'] = self::$index;
        $this->_menu[self::$index] = [
            'id' => self::$index,
            'moduleId' => $this->moduleContext->id,
            'template' => $template,
            'routing' => $template ? 'custom' : 'default',
            'alias' => $name,
            'icon' => $icon,
            'permissionRoute' => false,
            'permissionIsRoute' => false,
            'searchModelClass' => false,
        ];
    
        self::$index++;
        return $this;
    }
public function node($name, $icon, $template = false)
    {
        $this->_pointers['node'] = self::$index;
        $this->_menu[self::$index] = [
            'id' => self::$index,
            'moduleId' => $this->moduleContext->id,
            'template' => $template,
            'routing' => $template ? 'custom' : 'default',
            'alias' => $name,
            'icon' => $icon,
            'permissionRoute' => false,
            'permissionIsRoute' => false,
            'searchModelClass' => false,
        ];
    
        self::$index++;
        return $this;
    }
public function node ( $ name , $ icon , $ template = false ) { $ this -> _pointers [ 'node' ] = self :: $ index ; $ this -> _menu [ self :: $ index ] = [ 'id' => self :: $ index , 'moduleId' => $ this -> moduleContext -> id , 'template' => $ template , 'routing' => $ template ? 'custom' : 'default' , 'alias' => $ name , 'icon' => $ icon , 'permissionRoute' => false , 'permissionIsRoute' => false , 'searchModelClass' => false , ] ; self :: $ index ++ ; return $ this ; }
The node is the menu entry in the TOP navigation of the luya administration interface.

@param string $name The name of the node, all names will process trough the `Yii::t` function with its module name as prefix.
@param string $icon The icon name based on the google icons font see https://design.google.com/icons/.
@param bool $template Whether to use a custom template or not.
@return \luya\admin\components\AdminMenuBuilder
The node is the menu entry in the TOP navigation of the luya administration interface .