function block_form_form_test_alter_form_alter
Implements hook_form_FORM_ID_alter() on behalf of block.module.
File
-
core/
modules/ system/ tests/ modules/ form_test/ form_test.module, line 13
Code
function block_form_form_test_alter_form_alter(&$form, FormStateInterface $form_state) {
\Drupal::messenger()->addStatus('block_form_form_test_alter_form_alter() executed.');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.