function assets_type_entity_access_callback in Asset 7
Access callback for the entity API.
1 string reference to 'assets_type_entity_access_callback'
- asset_entity_info in ./
asset.module - Implements hook_entity_info().
File
- ./
asset.module, line 160 - Asset module.
Code
function assets_type_entity_access_callback($op, $type = NULL, $account = NULL) {
return user_access('administer asset types', $account);
}