You are here

public function PushChanges::executeMultiple in CMS Content Sync 2.1.x

Same name and namespace in other branches
  1. 8 src/Plugin/Action/PushChanges.php \Drupal\cms_content_sync\Plugin\Action\PushChanges::executeMultiple()
  2. 2.0.x src/Plugin/Action/PushChanges.php \Drupal\cms_content_sync\Plugin\Action\PushChanges::executeMultiple()

Executes the plugin for an array of objects.

Parameters

array $objects: An array of entities.

Overrides ActionBase::executeMultiple

1 call to PushChanges::executeMultiple()
PushChanges::execute in src/Plugin/Action/PushChanges.php
Executes the plugin.

File

src/Plugin/Action/PushChanges.php, line 70

Class

PushChanges
Push the node with Content Sync.

Namespace

Drupal\cms_content_sync\Plugin\Action

Code

public function executeMultiple(array $entities) {
  $this->tempStore
    ->set('nodes', $entities);
}