function asset_type_load in Asset 7
Menu argument loader; Load an asset type by string.
Parameters
$type: The machine-readable name of an asset type to load.
Return value
AssetType|bool An asset type object or FALSE if $type does not exist.
File
- ./
asset.module, line 132 - Asset module.
Code
function asset_type_load($type) {
return assets_get_types($type);
}