You are here

function commerce_pricelist_feeds_ctools_plugin_api in Commerce Pricelist 7

Example of a CTools plugin hook that needs to be implemented to make hook_feeds_plugins() discoverable by CTools and Feeds. The hook specifies that the hook_feeds_plugins() returns Feeds Plugin API version 1 style plugins.

File

commerce_pricelist_feeds/commerce_pricelist_feeds.module, line 26
Implements the basic functionality required to create and display an entity.

Code

function commerce_pricelist_feeds_ctools_plugin_api($owner, $api) {
  if ($owner == 'feeds' && $api == 'plugins') {
    return array(
      'version' => 1,
    );
  }
}