You are here

function smart_title_help in Smart Title 8

Implements hook_help().

File

./smart_title.module, line 21
Contains hooks and private functions of smart_title.module.

Code

function smart_title_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {

    // Main module help for the smart_title module.
    case 'help.page.smart_title':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Smart Title makes content entity labels visible and configurable on Field UI forms. For more information, see the <a href=":smart-title-docs">online documentation for the Smart Title module</a>.', [
        ':smart-title-docs' => 'https://www.drupal.org/docs/8/modules/smart-title',
      ]) . '</p>';
      return $output;
    default:
  }
}