You are here

function dashboards_help in Dashboards with Layout Builder 8

Same name and namespace in other branches
  1. 2.0.x dashboards.module \dashboards_help()

Implements hook_help().

File

./dashboards.module, line 16
Contains dashboards.module.

Code

function dashboards_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.dashboards':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Place dashboards with layout builder functionality.') . '</p>';
      $output .= '<p>';
      $output .= t('Visit the <a href=":project_link">Dashboards project page</a> on Drupal.org for more information.', [
        ':project_link' => 'https://www.drupal.org/project/dashboards',
      ]);
      $output .= '</p>';
      return $output;
    default:
  }
}