function RedirectFormBlock::build
Same name in other branches
- 8.9.x core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php \Drupal\form_test\Plugin\Block\RedirectFormBlock::build()
- 10 core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php \Drupal\form_test\Plugin\Block\RedirectFormBlock::build()
- 11.x core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php \Drupal\form_test\Plugin\Block\RedirectFormBlock::build()
Overrides BlockPluginInterface::build
File
-
core/
modules/ system/ tests/ modules/ form_test/ src/ Plugin/ Block/ RedirectFormBlock.php, line 63
Class
- RedirectFormBlock
- Provides a block containing a simple redirect form.
Namespace
Drupal\form_test\Plugin\BlockCode
public function build() {
return $this->formBuilder
->getForm('Drupal\\form_test\\Form\\RedirectBlockForm');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.