public function UnitDeleteMultiple::getCancelUrl in Booking and Availability Management Tools for Drupal 8
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides ConfirmFormInterface::getCancelUrl
File
- modules/
bat_unit/ src/ Form/ UnitDeleteMultiple.php, line 71 - Contains \Drupal\bat_unit\Form\UnitDeleteMultiple.
Class
- UnitDeleteMultiple
- Provides a unit deletion confirmation form.
Namespace
Drupal\bat_unit\FormCode
public function getCancelUrl() {
return new Url('system.admin_content');
}