ConfirmDeleteMultiple::getCancelUrl

public ConfirmDeleteMultiple::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

core/modules/comment/src/Form/ConfirmDeleteMultiple.php, line 67

Class

ConfirmDeleteMultiple
Provides the comment multiple delete confirmation form.

Namespace

Drupal\comment\Form

Code

public function getCancelUrl() {
  return new Url('comment.admin');
}
doc_Drupal
2016-10-29 08:55:29
Comments
Leave a Comment

Please login to continue.