You are here

paragraphs_smart_trim.module in Paragraphs Trimmed 8

File

modules/paragraphs_smart_trim/paragraphs_smart_trim.module
View source
<?php

/**
 * @file
 * Contains paragraphs_smart_trim.module.
 */
use Drupal\Core\Routing\RouteMatchInterface;

/**
 * Implements hook_help().
 */
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:
  }
}

Functions

Namesort descending Description
paragraphs_smart_trim_help Implements hook_help().