You are here

function footer_message_help in Footer Message 8

Implements hook_help().

File

./footer_message.module, line 16
This module provides a configurable footer message as a block.

Code

function footer_message_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.footer_message':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('This module provides a site footer message, editable on the site-information form and displayed as a block, as well as presented as a theme variable.') . '</p>';
      $output .= '<h3>' . t('Uses') . '</h3>';
      $output .= '<dl>';
      $output .= '<dt>' . t('The footer message block can be placed on your site via the block administration screen, or with Context module.') . '</dt>';
      $output .= '<dt>' . t('Or, footer_message variable can be added to your page.html.twig.') . '</dt>';
      $output .= '</dl>';
      return $output;
  }
}