required_by_role.module in Required by role 8
Same filename and directory in other branches
Allows certain user roles to be exempt from required fields
File
required_by_role.moduleView source
<?php
/**
* @file
* Allows certain user roles to be exempt from required fields
*/
/**
* Implements hook_help().
*/
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;
}
}
Functions
Name | Description |
---|---|
required_by_role_help | Implements hook_help(). |