public function LanguageMappingDeleteForm::getCancelUrl in Flags 8
Gets the cancel URL.
Provides the URL to go to if the user cancels the action. For entity delete forms, this is typically the route that points at the list controller.
Return value
\Drupal\Core\Url The URL to go to if the user cancels the deletion.
Overrides ConfirmFormInterface::getCancelUrl
File
- flags_ui/
src/ Form/ LanguageMappingDeleteForm.php, line 32
Class
- LanguageMappingDeleteForm
- Class FlagMappingDeleteForm.
Namespace
Drupal\flags_ui\FormCode
public function getCancelUrl() {
return new Url('entity.language_flag_mapping.list');
}