$this->
subscribeEvent( 'Enlight_Controller_Dispatcher_ControllerPath_Backend_SwagUpdate',
'onGetSwagUpdateControllerPath'
);
$this->
createMenuItem([ 'label' => 'SwagUpdate',
'controller' => 'SwagUpdate',
'class' => 'sprite-arrow-continue-090',
'action' => 'Index',
'active' => 1,
'parent' =>
$this->
Menu()->
findOneBy(['id' => 40
]), // help menu
]);
return ['success' => true, 'invalidateCache' =>
['backend'
]];
} /**
* Register Plugin namespace in autoloader
*/
public function afterInit() { /** @var Enlight_Loader $loader */