You are here

public function ContextDuplicateForm::getCancelUrl in Context 8.4

1 call to ContextDuplicateForm::getCancelUrl()
ContextDuplicateForm::submitForm in modules/context_ui/src/Form/ContextDuplicateForm.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

modules/context_ui/src/Form/ContextDuplicateForm.php, line 63

Class

ContextDuplicateForm
Form for duplicating Context.

Namespace

Drupal\context_ui\Form

Code

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