You are here

public function MediaDeleteForm::getCancelUrl in Media Directories 2.x

Same name and namespace in other branches
  1. 8 modules/media_directories_ui/src/Form/MediaDeleteForm.php \Drupal\media_directories_ui\Form\MediaDeleteForm::getCancelUrl()
  2. 3.x modules/media_directories_ui/src/Form/MediaDeleteForm.php \Drupal\media_directories_ui\Form\MediaDeleteForm::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

modules/media_directories_ui/src/Form/MediaDeleteForm.php, line 46

Class

MediaDeleteForm
A form to delete medias.

Namespace

Drupal\media_directories_ui\Form

Code

public function getCancelUrl() {

  // TODO: Implement getCancelUrl() method.
}