function block_form_form_test_alter_form_alter in Drupal 9
Same name and namespace in other branches
- 8 core/modules/system/tests/modules/form_test/form_test.module \block_form_form_test_alter_form_alter()
- 7 modules/simpletest/tests/form_test.module \block_form_form_test_alter_form_alter()
Implements hook_form_FORM_ID_alter().
File
- core/
modules/ system/ tests/ modules/ form_test/ form_test.module, line 13 - Helper module for the form API tests.
Code
function block_form_form_test_alter_form_alter(&$form, FormStateInterface $form_state) {
\Drupal::messenger()
->addStatus('block_form_form_test_alter_form_alter() executed.');
}