function WorkspacePublishForm::create
Same name in other branches
- 9 core/modules/workspaces/src/Form/WorkspacePublishForm.php \Drupal\workspaces\Form\WorkspacePublishForm::create()
- 10 core/modules/workspaces/src/Form/WorkspacePublishForm.php \Drupal\workspaces\Form\WorkspacePublishForm::create()
Overrides FormBase::create
File
-
core/
modules/ workspaces/ src/ Form/ WorkspacePublishForm.php, line 58
Class
- WorkspacePublishForm
- Provides the workspace publishing form.
Namespace
Drupal\workspaces\FormCode
public static function create(ContainerInterface $container) {
return new static($container->get('workspaces.operation_factory'), $container->get('entity_type.manager'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.