ActionBase::executeMultiple

public ActionBase::executeMultiple(array $entities)

Executes the plugin for an array of objects.

Parameters

array $objects: An array of entities.

Overrides ActionInterface::executeMultiple

File

core/lib/Drupal/Core/Action/ActionBase.php, line 20

Class

ActionBase
Provides a base implementation for an Action plugin.

Namespace

Drupal\Core\Action

Code

public function executeMultiple(array $entities) {
  foreach ($entities as $entity) {
    $this->execute($entity);
  }
}
doc_Drupal
2016-10-29 08:43:10
Comments
Leave a Comment

Please login to continue.