public function LibraryItemRevisionDeleteForm::getCancelUrl

File

paragraphs/modules/paragraphs_library/src/Form/LibraryItemRevisionDeleteForm.php, line 105

Class

LibraryItemRevisionDeleteForm

Namespace

Drupal\paragraphs_library\Form

Code

public function getCancelUrl() {
  return new Url('entity.paragraphs_library_item.version_history', [
    'paragraphs_library_item' => $this->revision
      ->id(),
  ]);
}