Fixed coding standard issues
This commit is contained in:
parent
912591d36e
commit
59854fb02c
@ -5,6 +5,8 @@
|
|||||||
* Add scripts and styles from the frontend on all over the site.
|
* Add scripts and styles from the frontend on all over the site.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
use \Drupal\Core\Routing\RouteMatchInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implements hook_help().
|
* Implements hook_help().
|
||||||
*/
|
*/
|
||||||
@ -13,7 +15,7 @@ function header_and_footer_scripts_help($route_name,
|
|||||||
switch ($route_name) {
|
switch ($route_name) {
|
||||||
case 'help.page.header_and_footer_scripts':
|
case 'help.page.header_and_footer_scripts':
|
||||||
$output = '<h2>' . t('About') . '</h2>';
|
$output = '<h2>' . t('About') . '</h2>';
|
||||||
$output .= '<p>' . t('This module allows you to add style and scripts in your site or , You don\'t need to open any file for this purpose.') . '</p>';
|
$output .= '<p>' . t('This module allows you to add style and scripts in your site or , You do not need to open any file for this purpose.') . '</p>';
|
||||||
$output .= '<h2>' . t('Uses') . '</h2>';
|
$output .= '<h2>' . t('Uses') . '</h2>';
|
||||||
$output .= '<p>' . t('Header and Footer Scripts provides you the capability to quickly add the style and scripts in your site. It provides you 3 regions (Header, Body, and Footer) of the page on which you can add the style and script. You can add custom style/script file, add Google or other Analytics code, inline css, inline js and so on. You can configure them from the Administer -> Configuration -> Development -> HFS (Header Footer Scripts)') . '</p>';
|
$output .= '<p>' . t('Header and Footer Scripts provides you the capability to quickly add the style and scripts in your site. It provides you 3 regions (Header, Body, and Footer) of the page on which you can add the style and script. You can add custom style/script file, add Google or other Analytics code, inline css, inline js and so on. You can configure them from the Administer -> Configuration -> Development -> HFS (Header Footer Scripts)') . '</p>';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user