You are here

public function Action::execute in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/system/src/Entity/Action.php \Drupal\system\Entity\Action::execute()
  2. 10 core/modules/system/src/Entity/Action.php \Drupal\system\Entity\Action::execute()

File

core/modules/system/src/Entity/Action.php, line 128

Class

Action
Defines the configured action entity.

Namespace

Drupal\system\Entity

Code

public function execute(array $entities) {
  return $this
    ->getPlugin()
    ->executeMultiple($entities);
}