function feeds_cache_clear in Feeds 7.2
Same name and namespace in other branches
- 8.2 feeds.module \feeds_cache_clear()
- 6 feeds.module \feeds_cache_clear()
- 7 feeds.module \feeds_cache_clear()
Resets importer caches. Call when enabling/disabling importers.
Related topics
8 calls to feeds_cache_clear()
- drush_feeds_delete in ./
feeds.drush.inc - Deletes a set of Feeds importers.
- drush_feeds_disable in ./
feeds.drush.inc - Disables a set of Feeds importers.
- drush_feeds_enable in ./
feeds.drush.inc - Enables a set of Feeds importers.
- drush_feeds_revert in ./
feeds.drush.inc - Reverts a set of feeds.
- FeedsConfigurable::configFormSubmit in includes/
FeedsConfigurable.inc - Submission handler for configForm().
File
- ./
feeds.module, line 1134 - Feeds - basic API functions and hook implementations.
Code
function feeds_cache_clear($rebuild_menu = TRUE) {
cache_clear_all('_feeds_importer_digest', 'cache');
drupal_static_reset('_feeds_importer_digest');
cache_clear_all('plugins:feeds:plugins', 'cache');
ctools_include('export');
ctools_export_load_object_reset('feeds_importer');
drupal_static_reset('_node_types_build');
if ($rebuild_menu) {
menu_rebuild();
}
}