function farm_asset_save in farmOS 7
Save asset.
Parameters
FarmAsset $farm_asset: The farm asset entity.
9 calls to farm_asset_save()
- FarmAssetProcessor::entitySave in modules/
farm/ farm_asset/ includes/ feeds/ plugins/ FarmAssetProcessor.inc - Save a farm asset.
- farm_asset_archive_action in modules/
farm/ farm_asset/ farm_asset.module - Action function for farm_asset_archive_action.
- farm_asset_clone_action in modules/
farm/ farm_asset/ farm_asset.module - Action function for farm_asset_clone_action.
- farm_asset_form_submit in modules/
farm/ farm_asset/ farm_asset.pages.inc - Asset submit handler.
- farm_asset_unarchive_action in modules/
farm/ farm_asset/ farm_asset.module - Action function for farm_asset_unarchive_action.
File
- modules/
farm/ farm_asset/ farm_asset.module, line 817 - Farm asset - A farm asset entity type.
Code
function farm_asset_save(FarmAsset $farm_asset) {
entity_save('farm_asset', $farm_asset);
}