You are here

public function ExampleConfigEntityDeleteForm::getCancelUrl in Chaos Tool Suite (ctools) 8.3

Returns the route to go to if the user cancels the action.

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

1 call to ExampleConfigEntityDeleteForm::getCancelUrl()
ExampleConfigEntityDeleteForm::submitForm in tests/modules/ctools_wizard_test/src/Form/ExampleConfigEntityDeleteForm.php
This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form state…

File

tests/modules/ctools_wizard_test/src/Form/ExampleConfigEntityDeleteForm.php, line 24

Class

ExampleConfigEntityDeleteForm
Builds the form to delete Example config entity entities.

Namespace

Drupal\ctools_wizard_test\Form

Code

public function getCancelUrl() {
  return new Url('entity.ctools_wizard_test_config_entity.collection');
}