function TestFormApiFormBlock::validateForm
Same name in other branches
- 9 core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestFormApiFormBlock.php \Drupal\layout_builder_form_block_test\Plugin\Block\TestFormApiFormBlock::validateForm()
- 10 core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestFormApiFormBlock.php \Drupal\layout_builder_form_block_test\Plugin\Block\TestFormApiFormBlock::validateForm()
- 11.x core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestFormApiFormBlock.php \Drupal\layout_builder_form_block_test\Plugin\Block\TestFormApiFormBlock::validateForm()
Overrides FormInterface::validateForm
File
-
core/
modules/ layout_builder/ tests/ modules/ layout_builder_form_block_test/ src/ Plugin/ Block/ TestFormApiFormBlock.php, line 106
Class
- TestFormApiFormBlock
- Provides a block containing a Form API form for use in Layout Builder tests.
Namespace
Drupal\layout_builder_form_block_test\Plugin\BlockCode
public function validateForm(array &$form, FormStateInterface $form_state) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.