function block_user_presave

Implements hook_user_presave().

File

modules/block/block.module, line 611

Code

function block_user_presave(&$edit, $account, $category) {
    if (isset($edit['block'])) {
        $edit['data']['block'] = $edit['block'];
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.