You are here

function save_edit_help in Save & Edit 8

Same name and namespace in other branches
  1. 6 save_edit.module \save_edit_help()
  2. 7 save_edit.module \save_edit_help()

Implements hook_help().

File

./save_edit.module, line 15
Contains save_edit.module..

Code

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

    // Main module help for the save_edit module.
    case 'help.page.save_edit':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Gives a &quot;Save &amp; Edit&quot; button on node pages.') . '</p>';
      return $output;
    default:
  }
}