public function PoolDeleteForm::getCancelUrl in CMS Content Sync 2.1.x
Same name and namespace in other branches
- 8 src/Form/PoolDeleteForm.php \Drupal\cms_content_sync\Form\PoolDeleteForm::getCancelUrl()
- 2.0.x src/Form/PoolDeleteForm.php \Drupal\cms_content_sync\Form\PoolDeleteForm::getCancelUrl()
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides ConfirmFormInterface::getCancelUrl
1 call to PoolDeleteForm::getCancelUrl()
- PoolDeleteForm::submitForm in src/
Form/ PoolDeleteForm.php - This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form state…
File
- src/
Form/ PoolDeleteForm.php, line 82
Class
- PoolDeleteForm
- Builds the form to delete an Pool.
Namespace
Drupal\cms_content_sync\FormCode
public function getCancelUrl() {
return new Url('entity.cms_content_sync_pool.collection');
}