File tree Expand file tree Collapse file tree
component/backend/Dispatcher Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- Akeeba Data Compliance 0.1.0
2- ================================================================================
3-
4- * First release
5-
61Akeeba Data Compliance 1.1.0
72================================================================================
3+ + Cookie consent plugin
4+ ~ Joomla! 3.9 backend Components menu item compatibility
85
9- * Cookie consent plugin
6+ Akeeba Data Compliance 0.1.0
7+ ================================================================================
8+ * First release
Original file line number Diff line number Diff line change 3535 <!-- Administrator back-end section -->
3636 <administration >
3737 <!-- Administration menu -->
38- <menu view = " cpanel " >COM_DATACOMPLIANCE</menu >
38+ <menu >COM_DATACOMPLIANCE</menu >
3939
4040 <!-- Back-end files -->
4141 <files folder =" backend" >
Original file line number Diff line number Diff line change @@ -20,7 +20,16 @@ class Dispatcher extends \FOF30\Dispatcher\Dispatcher
2020 /** @var string The name of the default view, in case none is specified */
2121 public $ defaultView = 'ControlPanel ' ;
2222
23- public function onBeforeDispatch ()
23+ public function __construct (Container $ container , array $ config )
24+ {
25+ parent ::__construct ($ container , $ config );
26+
27+ $ this ->viewNameAliases = [
28+ 'cpanel ' => 'ControlPanel ' ,
29+ ];
30+ }
31+
32+ public function onBeforeDispatch ()
2433 {
2534 $ this ->onBeforeDispatchViewAliases ();
2635
You can’t perform that action at this time.
0 commit comments