You are here

feeds_xpathparser.install in Feeds XPath Parser 6

Same filename and directory in other branches
  1. 7 feeds_xpathparser.install

Contains hook_enable to clear Feeds's cache.

File

feeds_xpathparser.install
View source
<?php

/**
 * @file
 * Contains hook_enable to clear Feeds's cache.
 */

/**
 * Implementation of hook_enable().
 *
 * Clear Feeds' plugin cache so that this plugin shows up.
 */
function feeds_xpathparser_enable() {
  cache_clear_all('plugins:feeds:plugins', 'cache');
}

/**
 * Clear Feeds' plugin cache.
 */
function feeds_xpathparser_update_6101() {
  cache_clear_all('plugins:feeds:plugins', 'cache');
  return array();
}

/**
 * Update to trigger cache clear.
 */
function feeds_xpathparser_update_6102() {
}

Functions

Namesort descending Description
feeds_xpathparser_enable Implementation of hook_enable().
feeds_xpathparser_update_6101 Clear Feeds' plugin cache.
feeds_xpathparser_update_6102 Update to trigger cache clear.