1 filter_test.module filter_test_filter_info()

Implements hook_filter_info().

File

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

Code

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;
}