public function EntityTestDeleteForm::getCancelUrl in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/tests/modules/entity_test/src/EntityTestDeleteForm.php \Drupal\entity_test\EntityTestDeleteForm::getCancelUrl()
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides ContentEntityDeleteForm::getCancelUrl
File
- core/
modules/ system/ tests/ modules/ entity_test/ src/ EntityTestDeleteForm.php, line 21 - Contains \Drupal\entity_test\EntityTestDeleteForm.
Class
- EntityTestDeleteForm
- Provides the entity_test delete form.
Namespace
Drupal\entity_testCode
public function getCancelUrl() {
return new Url('<front>');
}