feeds_xpathparser.install in Feeds XPath Parser 6
Same filename and directory in other branches
Contains hook_enable to clear Feeds's cache.
File
feeds_xpathparser.installView 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
Name | 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. |