You are here

function required_by_role_help in Required by role 8

Same name and namespace in other branches
  1. 7.2 required_by_role.module \required_by_role_help()
  2. 7 required_by_role.module \required_by_role_help()

Implements hook_help().

File

./required_by_role.module, line 11
Allows certain user roles to be exempt from required fields

Code

function required_by_role_help($path, $arg) {
  switch ($path) {
    case 'admin/help#required_by_role':
      $output = '';
      $output .= '<p>' . t('The Required by role module provides an easy and flexible way for developers and site builders to determine whether a field (instance) should be <em>required</em> by all users or just for selected user roles.') . '</p>';
      return $output;
  }
}