function BlockForm::create
Same name in other branches
- 9 core/modules/block/src/BlockForm.php \Drupal\block\BlockForm::create()
- 8.9.x core/modules/block/src/BlockForm.php \Drupal\block\BlockForm::create()
- 10 core/modules/block/src/BlockForm.php \Drupal\block\BlockForm::create()
Overrides FormBase::create
File
-
core/
modules/ block/ src/ BlockForm.php, line 106
Class
- BlockForm
- Provides form for block instance forms.
Namespace
Drupal\blockCode
public static function create(ContainerInterface $container) {
return new static($container->get('entity_type.manager'), $container->get('plugin.manager.condition'), $container->get('context.repository'), $container->get('language_manager'), $container->get('theme_handler'), $container->get('plugin_form.factory'), $container->get('block.repository'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.