You are here

function farm_asset_feeds_plugins in farmOS 7

Implements hook_feed_plugins().

File

modules/farm/farm_asset/farm_asset.module, line 515
Farm asset - A farm asset entity type.

Code

function farm_asset_feeds_plugins() {
  $info = array();
  $info['FarmAssetProcessor'] = array(
    'name' => 'Farm asset processor',
    'description' => 'Create and update farm assets.',
    'help' => 'Create and update farm assets from parsed content.',
    'handler' => array(
      'parent' => 'FeedsProcessor',
      'class' => 'FarmAssetProcessor',
      'file' => 'FarmAssetProcessor.inc',
      'path' => drupal_get_path('module', 'farm_asset') . '/includes/feeds/plugins',
    ),
  );
  return $info;
}