You are here

function node_limit_help in Node Limit 8

Implements hook_help().

File

./node_limit.module, line 13
Contains node_limit.module.

Code

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

    // Main module help for the node_limit module.
    case 'help.page.node_limit':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Allows admins to restrict the number of nodes that may be created.') . '</p>';
      return $output;
  }
}