function Callbacks::entityTestFormValidate

Validation handler for the entity_test entity form.

File

core/modules/system/tests/modules/entity_test/src/Callbacks.php, line 17

Class

Callbacks
Simple object with callbacks.

Namespace

Drupal\entity_test

Code

public static function entityTestFormValidate(array &$form, FormStateInterface $form_state) : void {
    $form['#entity_test_form_validate'] = TRUE;
}

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