function log_type_access in Log entity 7
Access callback for log type.
Parameters
string $op: The operation being performed.
Log|null $log: Optionally, a log entity to check access for.
Return value
bool Returns TRUE if user has access.
1 string reference to 'log_type_access'
- log_entity_info in ./
log.module - Implements hook_entity_info().
File
- ./
log.module, line 876 - Log - A general purpose record keeping system.
Code
function log_type_access($op, $log = NULL) {
return user_access('administer log types');
}