You are here

public function AssetFeedsProcessor::entitySave in Asset 7

Save an asset.

File

modules/asset_feeds/AssetFeedsProcessor.inc, line 68
Class definition of AssetFeedsProcessor.

Class

AssetFeedsProcessor
Creates assets from feed items.

Code

public function entitySave($entity) {
  entity_save('asset', $entity);
}