function TestNotAnEntityForm::submitForm

Same name and namespace in other branches
  1. main core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php \Drupal\Tests\Core\Entity\TestNotAnEntityForm::submitForm()

Form submission handler.

Parameters

array $form: An associative array containing the structure of the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

Overrides FormInterface::submitForm

File

core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php, line 524

Class

TestNotAnEntityForm
Provides a test entity form that doesn't extend EntityForm.

Namespace

Drupal\Tests\Core\Entity

Code

public function submitForm(array &$form, FormStateInterface $form_state) : void {
  // No-op.
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.