function TestActionConfirmForm::getCancelUrl
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
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\FormCode
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.