function farm_asset_type_load in farmOS 7
Load asset type.
Parameters
string $farm_asset_type: The farm asset type.
Return value
FarmAssetType Returns a farm asset type entity.
2 calls to farm_asset_type_load()
- farm_asset_form in modules/
farm/ farm_asset/ farm_asset.pages.inc - Asset form.
- farm_livestock_update_7004 in modules/
farm/ farm_livestock/ farm_livestock.install - Enable inventory tracking for animal assets.
File
- modules/
farm/ farm_asset/ farm_asset.module, line 854 - Farm asset - A farm asset entity type.
Code
function farm_asset_type_load($farm_asset_type) {
return farm_asset_types($farm_asset_type);
}