function StatisticsViewsResult::getDayCount
Same name in other branches
- 9 core/modules/statistics/src/StatisticsViewsResult.php \Drupal\statistics\StatisticsViewsResult::getDayCount()
- 8.9.x core/modules/statistics/src/StatisticsViewsResult.php \Drupal\statistics\StatisticsViewsResult::getDayCount()
- 10 core/modules/statistics/src/StatisticsViewsResult.php \Drupal\statistics\StatisticsViewsResult::getDayCount()
Total number of times the entity has been viewed "today".
Return value
int
File
-
core/
modules/ statistics/ src/ StatisticsViewsResult.php, line 45
Class
- StatisticsViewsResult
- Value object for passing statistic results.
Namespace
Drupal\statisticsCode
public function getDayCount() {
return $this->dayCount;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.