You are here

public function AssetMove::executeMultiple in farmOS 2.x

Executes the plugin for an array of objects.

Parameters

array $objects: An array of entities.

Overrides ActionBase::executeMultiple

1 call to AssetMove::executeMultiple()
AssetMove::execute in modules/core/location/src/Plugin/Action/AssetMove.php
Executes the plugin.

File

modules/core/location/src/Plugin/Action/AssetMove.php, line 87

Class

AssetMove
Action that moves assets with an activity log.

Namespace

Drupal\farm_location\Plugin\Action

Code

public function executeMultiple(array $entities) {

  /** @var \Drupal\Core\Entity\EntityInterface[] $entities */
  $this->tempStore
    ->set($this->currentUser
    ->id(), $entities);
}