Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 3 additions & 13 deletions warpwire/warpwire.module
Original file line number Diff line number Diff line change
Expand Up @@ -281,20 +281,10 @@ function warpwire_wysiwyg_plugin($editor, $version) {
* Implementation of hook_filter_info().
*/
function warpwire_filter_info() {
$filters = array();

cache_clear_all('*', 'cache_filter', TRUE);
cache_clear_all('*', 'cache_field', TRUE);

$filters['filter_html'] = array(
'title' => t('Warpwire Filter - Filtered HTML'),
'description' => t('Substitutes [warpwire:URL] with secure Warpwire player.'),
'process callback' => 'warpwire_filter',
'tips callback' => 'warpwire_tips',
'cache' => FALSE,
);

$filters['full_html'] = array(
'title' => t('Warpwire Filter - Full HTML'),
$filters['warpwire'] = array(
'title' => t('Warpwire Filter'),
'description' => t('Substitutes [warpwire:URL] with secure Warpwire player.'),
'process callback' => 'warpwire_filter',
'tips callback' => 'warpwire_tips',
Expand Down