function StatisticsStorageInterface::deleteViews
Same name in other branches
- 9 core/modules/statistics/src/StatisticsStorageInterface.php \Drupal\statistics\StatisticsStorageInterface::deleteViews()
- 8.9.x core/modules/statistics/src/StatisticsStorageInterface.php \Drupal\statistics\StatisticsStorageInterface::deleteViews()
- 11.x core/modules/statistics/src/StatisticsStorageInterface.php \Drupal\statistics\StatisticsStorageInterface::deleteViews()
Delete counts for a specific entity.
Parameters
int $id: The ID of the entity which views to delete.
Return value
bool TRUE if the entity views have been deleted.
File
-
core/
modules/ statistics/ src/ StatisticsStorageInterface.php, line 76
Class
- StatisticsStorageInterface
- Provides an interface defining Statistics Storage.
Namespace
Drupal\statisticsCode
public function deleteViews($id);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.