function hook_bakery_transmit in Bakery Single Sign-On System 6.2
Same name and namespace in other branches
- 7.4 bakery.api.php \hook_bakery_transmit()
- 7.2 bakery.api.php \hook_bakery_transmit()
Bakery data transmit hook invoked before data is sent to another site.
Invoked on master during user_save before syncing to subsites. Also invoked on subsite when requesting account data from master for account creation.
Parameters
array $edit: The array of form values submitted by the user from user_save().
object $account: User account object.
string $category: The active category of user information being edited.
Return value
Keyed array of data to pass along to other sites.
2 invocations of hook_bakery_transmit()
- bakery_eat_gingerbread_cookie in ./
bakery.module - Respond with account information.
- bakery_user in ./
bakery.module - Implementation of hook_user().
File
- ./
bakery.api.php, line 32 - This file contains no working PHP code; it exists to provide additional documentation for doxygen as well as to document hooks in the standard Drupal manner.
Code
function hook_bakery_transmit($edit, $account, $category) {
return array(
'example_field' => 'example_value',
);
}