You are here

public function NodeViewCountRecordsManager::getLogsLifeTime in Node view count 8

Get lifetime of the nodeviewcount records.

Return value

int Lifetime of the nodeviewcount records.

Overrides NodeViewCountRecordsManagerInterface::getLogsLifeTime

File

src/NodeViewCountRecordsManager.php, line 132

Class

NodeViewCountRecordsManager
Provides a class for interacting with nodeviewcount records.

Namespace

Drupal\nodeviewcount

Code

public function getLogsLifeTime() {
  return $this->config
    ->get('logs_life_time');
}