From d5b078b3f967d52490cd08ae2abb1d98eaf57da2 Mon Sep 17 00:00:00 2001 From: samiahmedsiddiqui Date: Mon, 8 Oct 2018 17:08:53 +0500 Subject: [PATCH] Added RouteMatchInterface --- header_and_footer_scripts.module | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/header_and_footer_scripts.module b/header_and_footer_scripts.module index 9191349..1ad0613 100755 --- a/header_and_footer_scripts.module +++ b/header_and_footer_scripts.module @@ -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 = '

' . t('About') . '

';