function StatisticsStorageInterface::recordView
Counts an entity view.
Parameters
int $id: The ID of the entity to count.
Return value
bool TRUE if the entity view has been counted.
File
-
core/
modules/ statistics/ src/ StatisticsStorageInterface.php, line 22
Class
- StatisticsStorageInterface
- Provides an interface defining Statistics Storage.
Namespace
Drupal\statisticsCode
public function recordView($id);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.