function WorkflowTransitionDeleteForm::getCancelUrl

Same name in other branches
  1. 9 core/modules/workflows/src/Form/WorkflowTransitionDeleteForm.php \Drupal\workflows\Form\WorkflowTransitionDeleteForm::getCancelUrl()
  2. 8.9.x core/modules/workflows/src/Form/WorkflowTransitionDeleteForm.php \Drupal\workflows\Form\WorkflowTransitionDeleteForm::getCancelUrl()
  3. 11.x core/modules/workflows/src/Form/WorkflowTransitionDeleteForm.php \Drupal\workflows\Form\WorkflowTransitionDeleteForm::getCancelUrl()

Overrides ConfirmFormInterface::getCancelUrl

1 call to WorkflowTransitionDeleteForm::getCancelUrl()
WorkflowTransitionDeleteForm::submitForm in core/modules/workflows/src/Form/WorkflowTransitionDeleteForm.php
Form submission handler.

File

core/modules/workflows/src/Form/WorkflowTransitionDeleteForm.php, line 55

Class

WorkflowTransitionDeleteForm
Builds the form to delete transitions from Workflow entities.

Namespace

Drupal\workflows\Form

Code

public function getCancelUrl() {
    return $this->workflow
        ->toUrl();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.