public function DeleteAction::execute in Drupal 9
Same name and namespace in other branches
- 8 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\ActionCode
public function execute($object = NULL) {
$this
->executeMultiple([
$object,
]);
}