You are here

public function MaestroTemplateDeleteForm::getCancelUrl in Maestro 3.x

Same name and namespace in other branches
  1. 8.2 src/Form/MaestroTemplateDeleteForm.php \Drupal\maestro\Form\MaestroTemplateDeleteForm::getCancelUrl()

Gets the cancel route.

Return value

\Drupal\Core\Url Returns a formatted Drupal URL.

Overrides ConfirmFormInterface::getCancelUrl

File

src/Form/MaestroTemplateDeleteForm.php, line 73

Class

MaestroTemplateDeleteForm
Class MaestroTemplateDeleteForm.

Namespace

Drupal\maestro\Form

Code

public function getCancelUrl() {
  return new Url('entity.maestro_template.list');
}