You are here

function asset_access_view_page in Asset 7

Access callback for asset view page.

1 call to asset_access_view_page()
asset_views_handler_field_asset_link::render_link in views/handlers/asset_views_handler_field_asset_link.inc
Basic link builder.
1 string reference to 'asset_access_view_page'
asset_menu in ./asset.module
Implements hook_menu().

File

./asset.module, line 284
Asset module.

Code

function asset_access_view_page($asset) {
  return user_access('access asset view page') && entity_access('view', 'asset', $asset);
}