Added RouteMatchInterface

This commit is contained in:
samiahmedsiddiqui 2018-10-08 17:08:53 +05:00
parent 59854fb02c
commit d5b078b3f9

View File

@ -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>';