public function RemoteDeleteForm::getCancelUrl in Entity Share 8
Same name and namespace in other branches
- 8.3 modules/entity_share_client/src/Form/RemoteDeleteForm.php \Drupal\entity_share_client\Form\RemoteDeleteForm::getCancelUrl()
- 8.2 modules/entity_share_client/src/Form/RemoteDeleteForm.php \Drupal\entity_share_client\Form\RemoteDeleteForm::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 RemoteDeleteForm::getCancelUrl()
- RemoteDeleteForm::submitForm in modules/
entity_share_client/ src/ Form/ RemoteDeleteForm.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
- modules/
entity_share_client/ src/ Form/ RemoteDeleteForm.php, line 24
Class
- RemoteDeleteForm
- Builds the form to delete Remote entities.
Namespace
Drupal\entity_share_client\FormCode
public function getCancelUrl() {
return new Url('entity.remote.collection');
}