function WorkspaceForm::create
Same name and namespace in other branches
- 8.9.x core/modules/workspaces/src/Form/WorkspaceForm.php \Drupal\workspaces\Form\WorkspaceForm::create()
- 10 core/modules/workspaces/src/Form/WorkspaceForm.php \Drupal\workspaces\Form\WorkspaceForm::create()
- 11.x core/modules/workspaces/src/Form/WorkspaceForm.php \Drupal\workspaces\Form\WorkspaceForm::create()
Overrides ContentEntityForm::create
File
-
core/
modules/ workspaces/ src/ Form/ WorkspaceForm.php, line 54
Class
- WorkspaceForm
- Form controller for the workspace edit forms.
Namespace
Drupal\workspaces\FormCode
public static function create(ContainerInterface $container) {
return new static($container->get('entity.repository'), $container->get('messenger'), $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.