You are here

function pollim_type_access in Poll Improved 7

Access callback for the entity API.

1 string reference to 'pollim_type_access'
pollim_entity_info in ./pollim.module
Implement hook_entity_info().

File

./pollim.module, line 181
Module for the Pollim Entity - a starting point to create your own Entity and associated administration interface

Code

function pollim_type_access($op, $type = NULL, $account = NULL) {
  return user_access('administer pollim types', $account);
}