function asset_views_handler_field_asset_link in Asset 5
Same name and namespace in other branches
- 5.2 modules/asset_views.inc \asset_views_handler_field_asset_link()
- 6 asset_views.inc \asset_views_handler_field_asset_link()
- 6 inc/asset_views.inc \asset_views_handler_field_asset_link()
- 6 modules/asset_views.inc \asset_views_handler_field_asset_link()
File
- ./
asset_views.inc, line 109
Code
function asset_views_handler_field_asset_link($fieldinfo, $fielddata, $value, $data) {
$asset = asset_load($value);
$link = $asset->url;
return asset_views_handler_field_asset($fieldinfo, $fielddata, $value, $data, $link);
}