You are here

function a11y_paragraphs_tabs_help in A11Y Paragraphs Tabs 8

Implements hook_help().

File

./a11y_paragraphs_tabs.module, line 33
Module for creating the A11Y Paragraphs Tabs paragraph component.

Code

function a11y_paragraphs_tabs_help($route_name) {
  switch ($route_name) {
    case 'help.page.a11y_paragraphs_tabs':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('A11Y Paragraphs Tabs gives the user the ability to easily add tabs via paragraphs to their content that complies to Accessibility (A11Y) standards. On Desktop it shows Tabs and on mobile it displays as an accordion. For more information, see the <a href=":a11y_paragraphs_tabs">A11Y Paragraphs Tabs documentation on Drupal.org.</a>.', [
        ':a11y_paragraphs_tabs' => 'https://www.drupal.org/docs/8/modules/a11y-paragraphs-tabs',
      ]) . '</p>';
      return $output;
    case 'dblog.overview':
      return '<p>' . t('A11Y Paragraphs Tabs gives the user the ability to easily add tabs via paragraphs to their content that complies to Accessibility (A11Y) standards.') . '</p>';
  }
}