You are here

public function DeleteAction::execute in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Action/Plugin/Action/DeleteAction.php \Drupal\Core\Action\Plugin\Action\DeleteAction::execute()

Executes the plugin.

Overrides ExecutableInterface::execute

File

core/lib/Drupal/Core/Action/Plugin/Action/DeleteAction.php, line 88

Class

DeleteAction
Redirects to an entity deletion form.

Namespace

Drupal\Core\Action\Plugin\Action

Code

public function execute($object = NULL) {
  $this
    ->executeMultiple([
    $object,
  ]);
}