public function PanelizerWizardContextDeleteForm::getCancelUrl in Panelizer 8.5
Same name and namespace in other branches
- 8.3 src/Form/PanelizerWizardContextDeleteForm.php \Drupal\panelizer\Form\PanelizerWizardContextDeleteForm::getCancelUrl()
- 8.4 src/Form/PanelizerWizardContextDeleteForm.php \Drupal\panelizer\Form\PanelizerWizardContextDeleteForm::getCancelUrl()
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides ConfirmFormInterface::getCancelUrl
File
- src/
Form/ PanelizerWizardContextDeleteForm.php, line 33
Class
- PanelizerWizardContextDeleteForm
- Provides a form for deleting a context.
Namespace
Drupal\panelizer\FormCode
public function getCancelUrl() {
$cached_values = $this
->getTempstore();
return new Url('panelizer.wizard.add.step', [
'machine_name' => $cached_values['id'],
'step' => 'contexts',
]);
}