You are here

public function DeleteMultiple::getCancelUrl in Message 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 125

Class

DeleteMultiple
Provides a message deletion confirmation form.

Namespace

Drupal\message\Form

Code

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