function block_user_presave
block_user_presave(&$edit, $account, $category)
Implements hook_user_presave().
File
- modules/block/block.module, line 616
- Controls the visual building blocks a page is constructed with.
Code
function block_user_presave(&$edit, $account, $category) { if (isset($edit['block'])) { $edit['data']['block'] = $edit['block']; } }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!block!block.module/function/block_user_presave/7.x