8.3.x form_test.module block_form_form_test_alter_form_alter(&$form, FormStateInterface $form_state)
8.0.x form_test.module block_form_form_test_alter_form_alter(&$form, FormStateInterface $form_state)
8.1.x form_test.module block_form_form_test_alter_form_alter(&$form, FormStateInterface $form_state)
8.2.x form_test.module block_form_form_test_alter_form_alter(&$form, FormStateInterface $form_state)
8.4.x form_test.module block_form_form_test_alter_form_alter(&$form, FormStateInterface $form_state)
7.x form_test.module block_form_form_test_alter_form_alter(&$form, &$form_state)

Implements hook_form_FORM_ID_alter() on behalf of block.module.

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_set_message('block_form_form_test_alter_form_alter() executed.');
}