private function addExtend(MenuEntry $root)
    {
        $root->add(
            MenuEntry::create('extensions')
                ->setRoute('extensions')
                ->setLabel(Trans::__('general.phrase.extensions-overview'))
                ->setIcon('fa:cubes')
                ->setPermission('extensions')
        );

        // Extension supplied entries
        $root->add(
            MenuEntry::create('custom')
                ->setRoute('extensions')
                ->setPermission('settings')
        );
    }
private function addExtend(MenuEntry $root)
    {
        $root->add(
            MenuEntry::create('extensions')
                ->setRoute('extensions')
                ->setLabel(Trans::__('general.phrase.extensions-overview'))
                ->setIcon('fa:cubes')
                ->setPermission('extensions')
        );

        // Extension supplied entries
        $root->add(
            MenuEntry::create('custom')
                ->setRoute('extensions')
                ->setPermission('settings')
        );
    }
private function addExtend ( MenuEntry $ root ) { $ root -> add ( MenuEntry :: create ( 'extensions' ) -> setRoute ( 'extensions' ) -> setLabel ( Trans :: __ ( 'general.phrase.extensions-overview' ) ) -> setIcon ( 'fa:cubes' ) -> setPermission ( 'extensions' ) ) ; // Extension supplied entries $ root -> add ( MenuEntry :: create ( 'custom' ) -> setRoute ( 'extensions' ) -> setPermission ( 'settings' ) ) ; }
Extensions menus.

@param MenuEntry $root
Extensions menus .