function BlockForm::create
Same name in other branches
- 8.9.x core/modules/block/src/BlockForm.php \Drupal\block\BlockForm::create()
- 10 core/modules/block/src/BlockForm.php \Drupal\block\BlockForm::create()
- 11.x core/modules/block/src/BlockForm.php \Drupal\block\BlockForm::create()
Overrides FormBase::create
File
-
core/
modules/ block/ src/ BlockForm.php, line 104
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'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.