public function StatsTrackerInterface::updateTotals in Purge 8.3
Automatically update the total counters for the given invalidations.
Parameters
\Drupal\purge\Plugin\Purge\Invalidation\InvalidationInterface[] $invalidations: A non-associative array with invalidation objects regardless of the state they're in. Their state will determine which counter will be updated.
1 method overrides StatsTrackerInterface::updateTotals()
- StatsTracker::updateTotals in src/
Plugin/ Purge/ Queue/ StatsTracker.php - Automatically update the total counters for the given invalidations.
File
- src/
Plugin/ Purge/ Queue/ StatsTrackerInterface.php, line 108
Class
- StatsTrackerInterface
- Describes the queue statistics tracker.
Namespace
Drupal\purge\Plugin\Purge\QueueCode
public function updateTotals(array $invalidations);