Adding the BO controller to the BO menu
We can add simply an item to the BO menu by adding the $tabs class public array variable to our main module class by following a pattern. In our example, we can add the $tabs variable to the /modules/whcallback/whcallback.php file, inside the class definition, like this:
public $tabs = [ Â Â Â Â Â Â Â Â [ Â Â Â Â Â Â Â Â Â Â Â Â 'name' => [ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â 'en' => 'Callback Requests', Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â 'fr' => 'Demandes de rappel' Â Â Â Â Â Â Â Â Â Â Â Â ], Â Â Â Â Â Â Â Â Â Â Â Â 'class_name' => 'AdminWHCallbackRequest', Â Â ...