public function FormTestArgumentsObject::validateForm

Implements \Drupal\Core\Form\FormInterface::validateForm().

Overrides FormInterface::validateForm

File

drupal/core/modules/system/tests/modules/form_test/lib/Drupal/form_test/FormTestArgumentsObject.php, line 47
Contains \Drupal\form_test\FormTestArgumentsObject.

Class

FormTestArgumentsObject
Provides a test form object that needs arguments.

Namespace

Drupal\form_test

Code

public function validateForm(array &$form, array &$form_state) {
  drupal_set_message(t('The FormTestArgumentsObject::validateForm() method was used for this form.'));
}