public function views_handler_field_statistics_numeric::access in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 6.2 modules/statistics/views_handler_field_statistics_numeric.inc \views_handler_field_statistics_numeric::access()
Check whether current user has access to this handler.
Return value
bool
Overrides views_handler::access
File
- modules/
statistics/ views_handler_field_statistics_numeric.inc, line 18 - Definition of views_handler_field_statistics_numeric.
Class
- views_handler_field_statistics_numeric
- Field handler to present numeric values from the statistics module.
Code
public function access() {
// Needs permission to see total page views.
return user_access('view post access counter');
}