function DeleteAction::execute

Same name 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()
  3. 11.x core/lib/Drupal/Core/Action/Plugin/Action/DeleteAction.php \Drupal\Core\Action\Plugin\Action\DeleteAction::execute()

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,
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.