You are here

public function LibraryAlterTransactionForm::validateForm in Library 8

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 FormBase::validateForm

File

src/Form/LibraryAlterTransactionForm.php, line 107

Class

LibraryAlterTransactionForm
Alter the library transaction form.

Namespace

Drupal\library\Form

Code

public function validateForm(array &$form, FormStateInterface $form_state) {
  parent::validateForm($form, $form_state);

  // @todo Verify that the state change is allowed, don't trust the
  // parameters.
}