You are here

function hook_ctools_plugin_api in Feeds 6

Same name and namespace in other branches
  1. 8.2 feeds.api.php \hook_ctools_plugin_api()
  2. 7.2 feeds.api.php \hook_ctools_plugin_api()
  3. 7 feeds.api.php \hook_ctools_plugin_api()

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.

Related topics

4 functions implement hook_ctools_plugin_api()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

feeds_ctools_plugin_api in ./feeds.module
Implementation of hook_ctools_plugin_api().
feeds_fast_news_ctools_plugin_api in feeds_fast_news/feeds_fast_news.features.inc
Implementation of hook_ctools_plugin_api().
feeds_import_ctools_plugin_api in feeds_import/feeds_import.features.inc
Implementation of hook_ctools_plugin_api().
feeds_news_ctools_plugin_api in feeds_news/feeds_news.features.inc
Implementation of hook_ctools_plugin_api().

File

./feeds.api.php, line 27
Documentation of Feeds hooks.

Code

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