You are here

function asset_view_asset in Asset 7

Page callback to get asset html.

1 call to asset_view_asset()
asset_tooltip_content in includes/asset.admin.inc
Page callback to get tooltip content.
1 string reference to 'asset_view_asset'
asset_menu in ./asset.module
Implements hook_menu().

File

includes/asset.admin.inc, line 618
Asset admin page callbacks.

Code

function asset_view_asset($asset, $view_mode = ASSET_DEFAULT_MODE) {
  $output = $asset
    ->view($view_mode);
  return $output;
}