public function UnpublishCacheflush::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/ UnpublishCacheflush.php, line 73
Class
- UnpublishCacheflush
- Unpublishes a cacheflush.
Namespace
Drupal\cacheflush_ui\Plugin\ActionCode
public function executeMultiple(array $entities) {
foreach ($entities as $entity) {
$this
->execute($entity);
}
$this->routerBuilder
->rebuild();
}