You are here

function gatsby_help in Gatsby Live Preview & Incremental Builds 2.0.x

Same name and namespace in other branches
  1. 8 gatsby.module \gatsby_help()

Implements hook_help().

File

./gatsby.module, line 19
Contains gatsby.module.

Code

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

    // Main module help for the gatsby module.
    case 'help.page.gatsby':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Enables Live Preview for Gatsby') . '</p>';
      return $output;
    default:
  }
}