Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User form user_profile_form form changes #149

Open
mglaman opened this issue Mar 21, 2024 · 0 comments
Open

User form user_profile_form form changes #149

mglaman opened this issue Mar 21, 2024 · 0 comments

Comments

@mglaman
Copy link
Collaborator

mglaman commented Mar 21, 2024

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 mglaman changed the title User form user_profile_form form ID changed User form user_profile_form form changes Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant