function WorkspacePublishForm::getCancelUrl
Same name in other branches
- 9 core/modules/workspaces/src/Form/WorkspacePublishForm.php \Drupal\workspaces\Form\WorkspacePublishForm::getCancelUrl()
- 10 core/modules/workspaces/src/Form/WorkspacePublishForm.php \Drupal\workspaces\Form\WorkspacePublishForm::getCancelUrl()
Overrides ConfirmFormInterface::getCancelUrl
File
-
core/
modules/ workspaces/ src/ Form/ WorkspacePublishForm.php, line 138
Class
- WorkspacePublishForm
- Provides the workspace publishing form.
Namespace
Drupal\workspaces\FormCode
public function getCancelUrl() {
return Url::fromRoute('entity.workspace.collection', [], [
'query' => $this->getDestinationArray(),
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.