public function Delete::getCancelUrl in SimpleAds 8
Same name in this branch
- 8 src/Form/Groups/Delete.php \Drupal\simpleads\Form\Groups\Delete::getCancelUrl()
- 8 src/Form/Ads/Delete.php \Drupal\simpleads\Form\Ads\Delete::getCancelUrl()
- 8 src/Form/Campaigns/Delete.php \Drupal\simpleads\Form\Campaigns\Delete::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/
Form/ Campaigns/ Delete.php, line 34
Class
- Delete
- Delete advertisement campaign form.
Namespace
Drupal\simpleads\Form\CampaignsCode
public function getCancelUrl() {
return new Url('simpleads.campaigns');
}