X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Fadvanced_help%2Fsrc%2FPlugin%2FDerivative%2FDynamicLocalTasks.php;fp=web%2Fmodules%2Fcontrib%2Fadvanced_help%2Fsrc%2FPlugin%2FDerivative%2FDynamicLocalTasks.php;h=b4eea410cd3b9b84623ae3c78386d73f24d81042;hp=0000000000000000000000000000000000000000;hb=8acec36f19c470dfcda1ae2336826a782f41874c;hpb=e0411c4e83ba0d079034db83c3f7f55be24a0e35 diff --git a/web/modules/contrib/advanced_help/src/Plugin/Derivative/DynamicLocalTasks.php b/web/modules/contrib/advanced_help/src/Plugin/Derivative/DynamicLocalTasks.php new file mode 100644 index 000000000..b4eea410c --- /dev/null +++ b/web/modules/contrib/advanced_help/src/Plugin/Derivative/DynamicLocalTasks.php @@ -0,0 +1,32 @@ +moduleExists('help')) { + $this->derivatives['advanced_help.help'] = $base_plugin_definition; + $this->derivatives['advanced_help.help']['title'] = "Help"; + $this->derivatives['advanced_help.help']['route_name'] = 'help.main'; + $this->derivatives['advanced_help.help']['base_route'] = 'help.main'; + + $this->derivatives['help.main'] = $base_plugin_definition; + $this->derivatives['help.main']['title'] = "Advanced Help"; + $this->derivatives['help.main']['route_name'] = 'advanced_help.main'; + $this->derivatives['help.main']['base_route'] = 'help.main'; + + return $this->derivatives; + } + } +} +?> \ No newline at end of file