You are here

public function DeleteAction::execute in Entity API 8.0

Executes the plugin.

Overrides ExecutableInterface::execute

File

src/Plugin/Action/DeleteAction.php, line 91
Contains \Drupal\entity\Plugin\Action\DeleteAction.

Class

DeleteAction
Redirects to an entity deletion form.

Namespace

Drupal\entity\Plugin\Action

Code

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