You are here

function hook_required_by_role_callback_alter in Required by role 7

Implements hook_required_by_role_callback_alter.

Returns a string this with name of the function to be used to work out the #required property of a field.

The function should return a boolean.

1 function implements hook_required_by_role_callback_alter()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

required_by_role_callback_test_required_by_role_callback_alter in tests/required_by_role_callback_test/required_by_role_callback_test.module
Implements hook_required_by_role_callback_alter.
1 invocation of hook_required_by_role_callback_alter()
_required_by_role_get_callback in ./required_by_role.module
Helper function to get the callback.

File

./required_by_role.api.php, line 15
Hooks provided by the Required by role module.

Code

function hook_required_by_role_callback_alter(&$callback) {
  $callback = 'example_required_callback';
}