public function ProfileFormController::submit

Overrides Drupal\Core\Entity\EntityFormController::submit().

Overrides EntityFormController::submit

File

drupal/core/modules/user/lib/Drupal/user/ProfileFormController.php, line 35
Definition of Drupal\user\ProfileFormController.

Class

ProfileFormController
Form controller for the profile forms.

Namespace

Drupal\user

Code

public function submit(array $form, array &$form_state) {

  // @todo Consider moving this into the parent method.
  // Remove unneeded values.
  form_state_values_clean($form_state);
  parent::submit($form, $form_state);
}