You are here

function hook_ctools_plugin_api in Feeds 7.2

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

CTools plugin hook example.

This example of a CTools plugin hook 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

3 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
Implements hook_ctools_plugin_api().
feeds_import_ctools_plugin_api in feeds_import/feeds_import.features.inc
Implements hook_ctools_plugin_api().
feeds_news_ctools_plugin_api in feeds_news/feeds_news.features.inc
Implements hook_ctools_plugin_api().

File

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

Code

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