You are here

function paragraphs_smart_trim_help in Paragraphs Trimmed 8

Implements hook_help().

File

modules/paragraphs_smart_trim/paragraphs_smart_trim.module, line 13
Contains paragraphs_smart_trim.module.

Code

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

    // Main module help for the paragraphs_smart_trim module.
    case 'help.page.paragraphs_smart_trim':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Use the smart trim module to trim paragraphs fields output.') . '</p>';
      return $output;
    default:
  }
}