function entity_test_form_entity_test_form_validate

Same name and namespace in other branches
  1. 9 core/modules/system/tests/modules/entity_test/entity_test.module \entity_test_form_entity_test_form_validate()
  2. 8.9.x core/modules/system/tests/modules/entity_test/entity_test.module \entity_test_form_entity_test_form_validate()
  3. 10 core/modules/system/tests/modules/entity_test/entity_test.module \entity_test_form_entity_test_form_validate()

Validation handler for the entity_test entity form.

1 string reference to 'entity_test_form_entity_test_form_validate'
entity_test_form_entity_test_form_alter in core/modules/system/tests/modules/entity_test/entity_test.module
Implements hook_form_BASE_FORM_ID_alter().

File

core/modules/system/tests/modules/entity_test/entity_test.module, line 350

Code

function entity_test_form_entity_test_form_validate(array &$form, FormStateInterface $form_state) {
    $form['#entity_test_form_validate'] = TRUE;
}

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