You are here

function entity_hierarchy_views_help in Entity Reference Hierarchy 8

Implements hook_help().

File

entity_hierarchy_views/entity_hierarchy_views.module, line 20
Contains entity_hierarchy_views.module..

Code

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

    // Main module help for the entity_hierarchy_views module.
    case 'help.page.entity_hierarchy_views':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Provides views that may be embedded on hierarchy pages (e.g. to list all child pages by child weight).') . '</p>';
      return $output;
    default:
  }
}