function RedirectFormBlock::create
Same name in other branches
- 9 core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php \Drupal\form_test\Plugin\Block\RedirectFormBlock::create()
- 10 core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php \Drupal\form_test\Plugin\Block\RedirectFormBlock::create()
- 11.x core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php \Drupal\form_test\Plugin\Block\RedirectFormBlock::create()
Overrides ContainerFactoryPluginInterface::create
File
-
core/
modules/ system/ tests/ modules/ form_test/ src/ Plugin/ Block/ RedirectFormBlock.php, line 51
Class
- RedirectFormBlock
- Provides a block containing a simple redirect form.
Namespace
Drupal\form_test\Plugin\BlockCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition, $container->get('form_builder'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.