You are here

public function BadgeForm::submit in User Badges 8

File

src/Entity/Form/BadgeForm.php, line 43
Contains \Drupal\user_badges\Entity\Form\BadgeForm.

Class

BadgeForm
Form controller for Badge edit forms.

Namespace

Drupal\user_badges\Entity\Form

Code

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

  // Build the entity object from the submitted values.
  $entity = parent::submit($form, $form_state);
  return $entity;
}