function simplifying_form_user_form_alter in Simplifying 8
Implements hook_form_user_form_alter().
File
- ./
simplifying.module, line 65 - Simplifying module.
Code
function simplifying_form_user_form_alter(&$form, FormStateInterface $form_state, $form_id) {
\Drupal::service('simplifying.entity')
->hideFields($form, 'users');
}