feeds_youtube.install in Feeds: YouTube Parser 6
Same filename and directory in other branches
Handles actions upon enabling and disabling the module.
File
feeds_youtube.installView source
<?php
/**
* @file
* Handles actions upon enabling and disabling the module.
*/
/**
* Implementation of hook_enable()
*/
function feeds_youtube_enable() {
// Clear the cache to display in Feeds as available plugin.
cache_clear_all('plugins:feeds:plugins', 'cache');
}
/**
* Implementation of hook_disable()
*/
function feeds_youtube_disable() {
// Clear the cache to display in Feeds as available plugin.
cache_clear_all('plugins:feeds:plugins', 'cache');
}
Functions
Name | Description |
---|---|
feeds_youtube_disable | Implementation of hook_disable() |
feeds_youtube_enable | Implementation of hook_enable() |