You are here

public function MediaDeleteForm::getCancelUrl in Media Directories 3.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. 2.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 38

Class

MediaDeleteForm

Namespace

Drupal\media_directories_ui\Form

Code

public function getCancelUrl() {

  // TODO: Implement getCancelUrl() method.
}