You are here

function at_theme_generator_help in AT Tools 8.3

Same name and namespace in other branches
  1. 8 at_theme_generator/at_theme_generator.module \at_theme_generator_help()
  2. 8.2 at_theme_generator/at_theme_generator.module \at_theme_generator_help()

Implements hook_help().

Parameters

$route_name:

Return value

string

File

at_theme_generator/at_theme_generator.module, line 13
Contains at_theme_generator.module

Code

function at_theme_generator_help($route_name) {
  switch ($route_name) {
    case 'help.page.at_theme_generator':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<br/>' . t('The <a href="@attools">AT Theme Generator</a> (packaged with AT Tools) allows you to generate new <a href="@at">Adaptivetheme</a> sub-themes and clone existing AT sub-themes.', [
        '@attools' => 'https://www.drupal.org/project/at_tools',
        '@at' => 'https://www.drupal.org/project/adaptivetheme',
      ]);
      $output .= '<br/>' . t('Please see the online documentation <a href="@docs">docs.adaptivethemes.com</a> for detailed instructions on how to use the theme generator.', [
        '@docs' => '//docs.adaptivethemes.com/theme-generator/',
      ]);
      return $output;
  }
}