You are here

public function DurationFormElementTest::validateForm in Duration Field 8.2

Same name and namespace in other branches
  1. 3.0.x tests/src/Kernel/DurationFormElementTest.php \Drupal\Tests\duration_field\Kernel\DurationFormElementTest::validateForm()

Form validation 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::validateForm

File

tests/src/Kernel/DurationFormElementTest.php, line 96

Class

DurationFormElementTest
Tests the 'duration' form element.

Namespace

Drupal\Tests\duration_field\Kernel

Code

public function validateForm(array &$form, FormStateInterface $form_state) {
}