You are here

public function DeleteMultiple::getCancelUrl in Message UI 8

Returns the route to go to if the user cancels the action.

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

File

src/Form/DeleteMultiple.php, line 174

Class

DeleteMultiple
Provides a message deletion confirmation form.

Namespace

Drupal\message_ui\Form

Code

public function getCancelUrl() {
  return new Url('message.messages');
}