retrofit
retrofit copied to clipboard
User form user_profile_form form changes
The form ID is no longer user_profile_form
.
Modules could set data
on the account object and it was automatically saved.
$form['overlay_control']['overlay'] = array(
'#type' => 'checkbox',
'#title' => t('Use the overlay for administrative pages.'),
'#description' => t('Show administrative pages on top of the page you started from.'),
'#default_value' => isset($account->data['overlay']) ? $account->data['overlay'] : 1,
);