EntityTestDeleteForm.php

Same filename in other branches
  1. 9 core/modules/system/tests/modules/entity_test/src/EntityTestDeleteForm.php
  2. 10 core/modules/system/tests/modules/entity_test/src/EntityTestDeleteForm.php
  3. 11.x core/modules/system/tests/modules/entity_test/src/EntityTestDeleteForm.php

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

Title Deprecated Summary
EntityTestDeleteForm Provides the entity_test delete form.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.