public function PublishCacheflush::executeMultiple in CacheFlush 8
Executes the plugin for an array of objects.
Parameters
array $objects: An array of entities.
Overrides ActionBase::executeMultiple
File
- modules/
cacheflush_ui/ src/ Plugin/ Action/ PublishCacheflush.php, line 73
Class
- PublishCacheflush
- Publishes a cacheflush.
Namespace
Drupal\cacheflush_ui\Plugin\ActionCode
public function executeMultiple(array $entities) {
foreach ($entities as $entity) {
$this
->execute($entity);
}
$this->routerBuilder
->rebuild();
}