function TestActionConfirmForm::getCancelUrl

Same name in other branches
  1. 11.x core/modules/views/tests/modules/action_bulk_test/src/Form/TestActionConfirmForm.php \Drupal\action_bulk_test\Form\TestActionConfirmForm::getCancelUrl()

Overrides ConfirmFormInterface::getCancelUrl

File

core/modules/views/tests/modules/action_bulk_test/src/Form/TestActionConfirmForm.php, line 25

Class

TestActionConfirmForm
Confirmation form for 'test_action' action.

Namespace

Drupal\action_bulk_test\Form

Code

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

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