You are here

function media_entity_pinterest_help in Media entity Pinterest 8

Same name and namespace in other branches
  1. 8.2 media_entity_pinterest.module \media_entity_pinterest_help()

Implements hook_help().

File

./media_entity_pinterest.module, line 13
Hook implementations for media_entity_pinterest module.

Code

function media_entity_pinterest_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.media_entity_pinterest':
      $output = '<h3>' . t('About') . '</h3>';
      $output .= '<p>';
      $output .= t('The Media entity Pinterest module provides Pinterest integration for Media entity (i.e. media type provider plugin) For more information, see the <a href=":media_entity_pinterest"> Media entity Pinterest</a> project page and the <a href=":media_guide"> Media module guide for Drupal 8</a>.', [
        ':media_entity_pinterest' => 'https://www.drupal.org/project/media_entity_pinterest',
        ':media_guide' => 'https://www.drupal.org/docs/8/core/modules/media',
      ]);
      $output .= '</p>';
      return $output;
  }
}