Answers for "october cms backend navigation extend"

PHP
0

october cms backend navigation extend

public function boot()
{
    Event::listen('backend.menu.extendItems', function($manager)
    {
       $manager->addSideMenuItems('RainLab.Blog', 'blog', [
            'comments' => [
                'label'       => 'Comment',
                'icon'        => 'icon-comments',
                'code'        => 'comments',
                'owner'       => 'RainLab.Blog',
                'url'         => Backend::url('author/pluginname/section')
            ],
        ]);

    });
}
Posted by: Guest on November-23-2020

Browse Popular Code Answers by Language