retrofit icon indicating copy to clipboard operation
retrofit copied to clipboard

User form user_profile_form form changes

Open mglaman opened this issue 11 months ago • 0 comments

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,
      );

mglaman avatar Mar 21 '24 14:03 mglaman