function WorkspaceDeleteForm::create
Same name in other branches
- 8.9.x core/modules/workspaces/src/Form/WorkspaceDeleteForm.php \Drupal\workspaces\Form\WorkspaceDeleteForm::create()
- 10 core/modules/workspaces/src/Form/WorkspaceDeleteForm.php \Drupal\workspaces\Form\WorkspaceDeleteForm::create()
- 11.x core/modules/workspaces/src/Form/WorkspaceDeleteForm.php \Drupal\workspaces\Form\WorkspaceDeleteForm::create()
Overrides ContentEntityForm::create
File
-
core/
modules/ workspaces/ src/ Form/ WorkspaceDeleteForm.php, line 45
Class
- WorkspaceDeleteForm
- Provides a form for deleting a workspace.
Namespace
Drupal\workspaces\FormCode
public static function create(ContainerInterface $container) {
return new static($container->get('entity.repository'), $container->get('workspaces.association'), $container->get('workspaces.repository'), $container->get('entity_type.bundle.info'), $container->get('datetime.time'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.