function EntityTestDeleteForm::getCancelUrl

Same name in other branches
  1. 9 core/modules/system/tests/modules/entity_test/src/EntityTestDeleteForm.php \Drupal\entity_test\EntityTestDeleteForm::getCancelUrl()
  2. 8.9.x core/modules/system/tests/modules/entity_test/src/EntityTestDeleteForm.php \Drupal\entity_test\EntityTestDeleteForm::getCancelUrl()
  3. 11.x core/modules/system/tests/modules/entity_test/src/EntityTestDeleteForm.php \Drupal\entity_test\EntityTestDeleteForm::getCancelUrl()

Overrides ContentEntityDeleteForm::getCancelUrl

File

core/modules/system/tests/modules/entity_test/src/EntityTestDeleteForm.php, line 18

Class

EntityTestDeleteForm
Provides the entity_test delete form.

Namespace

Drupal\entity_test

Code

public function getCancelUrl() {
    return new Url('<front>');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.