public function NumberOfItemsStatistic::getDescription in Purge 8.3
Gets the description of the counter.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The translated description.
Overrides ExplainedCounterInterface::getDescription
File
- src/
Plugin/ Purge/ Queue/ NumberOfItemsStatistic.php, line 36
Class
- NumberOfItemsStatistic
- The number of items currently in the queue.
Namespace
Drupal\purge\Plugin\Purge\QueueCode
public function getDescription() {
return $this
->t('This counter is not a true statistic, but instead a maintained copy of the number of items in the queue. This exists to prevent expensive queue lookups in the underlying queue backend and should at all times be the exact number of items currently in the queue.');
}