public function DeleteForm::getCancelUrl in Optimizely 8
Same name and namespace in other branches
- 8.0 src/DeleteForm.php \Drupal\optimizely\DeleteForm::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
- src/
DeleteForm.php, line 50
Class
- DeleteForm
- Implements the confirmation form for deleting a project.
Namespace
Drupal\optimizelyCode
public function getCancelUrl() {
return new Url('optimizely.listing');
}