You are here

public function StatsTracker::key in Purge 8.3

Return the key of the current element.

File

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

Class

StatsTracker
Provides the queue statistics tracker.

Namespace

Drupal\purge\Plugin\Purge\Queue

Code

public function key() {
  $this
    ->initializeStatistics();
  return $this->position;
}