You are here

public function views_handler_field_node_counter_timestamp::access in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.2 modules/statistics/views_handler_field_node_counter_timestamp.inc \views_handler_field_node_counter_timestamp::access()

Check whether current user has access to this handler.

Return value

bool

Overrides views_handler::access

File

modules/statistics/views_handler_field_node_counter_timestamp.inc, line 18
Definition of views_handler_field_node_counter_timestamp.

Class

views_handler_field_node_counter_timestamp
Field handler to present the most recent time the node has been viewed.

Code

public function access() {

  // Needs permission to see total page views.
  return user_access('view post access counter');
}