function hook_signup_data_alter in Signup 6.2
Same name and namespace in other branches
- 6 signup.api.php \hook_signup_data_alter()
- 7 signup.api.php \hook_signup_data_alter()
Hook to alter signup data before a signup is inserted or updated.
Parameters
$signup: Reference to the fully-loaded signup object representing the signup. Modules implementing this hook may prevent a signup from going ahead by setting $signup->block_signup = TRUE. It is up to the implementing module to provide a message to the user to explain why their attempt to sign up has failed.
$form_values: Array of form values (if any) from the signup being inserted or updated.
3 functions implement hook_signup_data_alter()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- signup_pane_example_signup_data_alter in modules/
signup_pane_example/ signup_pane_example.module - Implementation of hook_signup_data_alter().
- signup_profile_signup_data_alter in modules/
signup_profile/ signup_profile.module - Implementation of hook_signup_data_alter().
- signup_webform_signup_data_alter in modules/
signup_webform/ signup_webform.module - Implementation of hook_signup_data_alter().
2 invocations of hook_signup_data_alter()
- signup_edit_form_save_submit in includes/
signup_edit_form.inc - Submit callback when saving changes to an existing signup.
- signup_sign_up_user in ./
signup.module - Signs up a user to a node.
File
- ./
signup.api.php, line 70 - This file documents the hooks invoked by the Signup module.
Code
function hook_signup_data_alter(&$signup, $form_values) {
// TODO
}