You are here

public function DeleteAction::execute in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Action/Plugin/Action/DeleteAction.php \Drupal\Core\Action\Plugin\Action\DeleteAction::execute()
  2. 10 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,
  ]);
}