Added RouteMatchInterface
This commit is contained in:
parent
59854fb02c
commit
d5b078b3f9
@ -5,13 +5,12 @@
|
||||
* Add scripts and styles from the frontend on all over the site.
|
||||
*/
|
||||
|
||||
use \Drupal\Core\Routing\RouteMatchInterface;
|
||||
use Drupal\Core\Routing\RouteMatchInterface;
|
||||
|
||||
/**
|
||||
* Implements hook_help().
|
||||
*/
|
||||
function header_and_footer_scripts_help($route_name,
|
||||
\Drupal\Core\Routing\RouteMatchInterface $route_match) {
|
||||
function header_and_footer_scripts_help($route_name, RouteMatchInterface $route_match) {
|
||||
switch ($route_name) {
|
||||
case 'help.page.header_and_footer_scripts':
|
||||
$output = '<h2>' . t('About') . '</h2>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user