You are here

function permissions_lock_help in Permissions Lock 7

Same name and namespace in other branches
  1. 8 permissions_lock.module \permissions_lock_help()

Implements hook_help(). Display help and module information

Parameters

path - A Drupal menu router path the help is being requested for:

arg - An array that corresponds to the return of the arg() function:

Return value

A localized string containing the help text.

File

./permissions_lock.module, line 28
Lock permissions on the permissions administration pages for certain roles

Code

function permissions_lock_help($path, $arg) {
  $output = '';
  switch ($path) {
    case 'admin/config/help#description':
      $output = t('Lock permissions on the permissions administration pages for certain roles');
      break;
    case "admin/help#permissions_lock":
      $output = '<p>' . t('Lock permissions on the permissions administration pages for certain roles') . '</p>';
      break;
  }
  return $output;
}