From 0619a600841307504c09f2becb4475c5987a83b1 Mon Sep 17 00:00:00 2001 From: Alex Barth <alex_b@53995.no-reply.drupal.org> Date: Sat, 27 Feb 2010 01:28:03 +0000 Subject: [PATCH] #711664 neclimdul: guarantee compatibility with CTools 1.4 by declaring that Feeds uses hooks to define plugins via hook_ctools_plugin_plugins(). --- CHANGELOG.txt | 2 ++ feeds.module | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 5cdf3c36..d318b08c 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -4,6 +4,8 @@ Feeds 6.x 1.0 xxxxx xx, 2010-xx-xx ---------------------------------- +- #711664 neclimdul: guarantee compatibility with CTools 1.4 by declaring that + Feeds uses hooks to define plugins via hook_ctools_plugin_plugins(). - #718460 jerdavis: In FeedsNodeProcessor, clear items only for the current importer id. - #718474 jerdavis: In FeedsNodeProcessor, check for duplicate items within diff --git a/feeds.module b/feeds.module index 4d3f65eb..6ee2243c 100644 --- a/feeds.module +++ b/feeds.module @@ -219,6 +219,18 @@ function feeds_ctools_plugin_api($owner, $api) { } } +/** + * Implementation of hook_ctools_plugin_plugins(). + * + * Psuedo hook defintion plugin system options and defaults. + */ +function feeds_ctools_plugin_plugins() { + return array( + 'cache' => TRUE, + 'use hooks' => TRUE, + ); +} + /** * Implementation of hook_feeds_plugins(). */ -- GitLab