public function AssetAddLog::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 AssetAddLog::executeMultiple()
- AssetAddLog::execute in modules/
core/ log/ src/ Plugin/ Action/ AssetAddLog.php - Executes the plugin.
File
- modules/
core/ log/ src/ Plugin/ Action/ AssetAddLog.php, line 77
Class
- AssetAddLog
- Action that adds a log referencing assets.
Namespace
Drupal\farm_log\Plugin\ActionCode
public function executeMultiple(array $entities) {
/** @var \Drupal\Core\Entity\EntityInterface[] $entities */
$this->tempStore
->set($this->currentUser
->id(), $entities);
}