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', ...