function StatisticsViewsResult::getTimestamp

Same name in other branches
  1. 9 core/modules/statistics/src/StatisticsViewsResult.php \Drupal\statistics\StatisticsViewsResult::getTimestamp()
  2. 8.9.x core/modules/statistics/src/StatisticsViewsResult.php \Drupal\statistics\StatisticsViewsResult::getTimestamp()
  3. 11.x core/modules/statistics/src/StatisticsViewsResult.php \Drupal\statistics\StatisticsViewsResult::getTimestamp()

Timestamp of when the entity was last viewed.

Return value

int

File

core/modules/statistics/src/StatisticsViewsResult.php, line 54

Class

StatisticsViewsResult
Value object for passing statistic results.

Namespace

Drupal\statistics

Code

public function getTimestamp() {
    return $this->timestamp;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.