You are here

public function DeleteNode::execute in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/node/src/Plugin/Action/DeleteNode.php \Drupal\node\Plugin\Action\DeleteNode::execute()

Executes the plugin.

Overrides ExecutableInterface::execute

File

core/modules/node/src/Plugin/Action/DeleteNode.php, line 92
Contains \Drupal\node\Plugin\Action\DeleteNode.

Class

DeleteNode
Redirects to a node deletion form.

Namespace

Drupal\node\Plugin\Action

Code

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