function TestFormApiFormBlock::build
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::build()
- 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::build()
- 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::build()
File
-
core/
modules/ layout_builder/ tests/ modules/ layout_builder_form_block_test/ src/ Plugin/ Block/ TestFormApiFormBlock.php, line 64
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 build() {
return $this->formBuilder
->getForm($this);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.