You are here

function block_user_presave in Drupal 7

Implements hook_user_presave().

File

modules/block/block.module, line 611
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'];
  }
}