ActionDeleteForm.php

Same filename in other branches
  1. 8.9.x core/modules/action/src/Form/ActionDeleteForm.php
  2. 10 core/modules/action/src/Form/ActionDeleteForm.php
  3. 11.x core/modules/action/src/Form/ActionDeleteForm.php

Namespace

Drupal\action\Form

File

core/modules/action/src/Form/ActionDeleteForm.php

View source
<?php

namespace Drupal\action\Form;

use Drupal\Core\Entity\EntityDeleteForm;
use Drupal\Core\Url;

/**
 * Builds a form to delete an action.
 *
 * @internal
 */
class ActionDeleteForm extends EntityDeleteForm {
    
    /**
     * {@inheritdoc}
     */
    public function getCancelUrl() {
        return new Url('entity.action.collection');
    }

}

Classes

Title Deprecated Summary
ActionDeleteForm Builds a form to delete an action.

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