Executes the plugin.
Overrides ExecutableInterface::execute
File
- drupal/core/modules/node/lib/Drupal/node/Plugin/Action/DeleteNode.php, line 70
- 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,
));
}