You are here

function filter_test_filter_info in Drupal 7

Implements hook_filter_info().


modules/simpletest/tests/filter_test.module, line 32
Test module for Filter module hooks and functions not used in core.


function filter_test_filter_info() {
  $filters['filter_test_uncacheable'] = array(
    'title' => 'Uncacheable filter',
    'description' => 'Does nothing, but makes a text format uncacheable.',
    'cache' => FALSE,
  $filters['filter_test_replace'] = array(
    'title' => 'Testing filter',
    'description' => 'Replaces all content with filter and text format information.',
    'process callback' => 'filter_test_replace',
  return $filters;