You are here

EntityTestDeleteForm.php in Drupal 9

Namespace

Drupal\entity_test

File

core/modules/system/tests/modules/entity_test/src/EntityTestDeleteForm.php
View source
<?php

namespace Drupal\entity_test;

use Drupal\Core\Entity\ContentEntityDeleteForm;
use Drupal\Core\Url;

/**
 * Provides the entity_test delete form.
 *
 * @internal
 */
class EntityTestDeleteForm extends ContentEntityDeleteForm {

  /**
   * {@inheritdoc}
   */
  public function getCancelUrl() {
    return new Url('<front>');
  }

}

Classes

Namesort descending Description
EntityTestDeleteForm Provides the entity_test delete form.