You are here

public function StatsTracker::totalFailed in Purge 8.3

Total number of failed queue items.

Return value

\Drupal\purge\Plugin\Purge\Queue\TotalFailedStatistic The \Drupal\purge\CounterExplainedCounterInterface compliant statistic.

Overrides StatsTrackerInterface::totalFailed

File

src/Plugin/Purge/Queue/StatsTracker.php, line 131

Class

StatsTracker
Provides the queue statistics tracker.

Namespace

Drupal\purge\Plugin\Purge\Queue

Code

public function totalFailed() {
  $this
    ->initializeStatistics();
  return $this->instances[self::TOTAL_FAILED];
}