function StatisticsNumeric::access
Same name in other branches
- 9 core/modules/statistics/src/Plugin/views/field/StatisticsNumeric.php \Drupal\statistics\Plugin\views\field\StatisticsNumeric::access()
- 8.9.x core/modules/statistics/src/Plugin/views/field/StatisticsNumeric.php \Drupal\statistics\Plugin\views\field\StatisticsNumeric::access()
- 10 core/modules/statistics/src/Plugin/views/field/StatisticsNumeric.php \Drupal\statistics\Plugin\views\field\StatisticsNumeric::access()
Overrides HandlerBase::access
File
-
core/
modules/ statistics/ src/ Plugin/ views/ field/ StatisticsNumeric.php, line 20
Class
- StatisticsNumeric
- Field handler to display numeric values from the statistics module.
Namespace
Drupal\statistics\Plugin\views\fieldCode
public function access(AccountInterface $account) {
return $account->hasPermission('view post access counter');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.