You are here

filter_test.module in SimpleTest 7

Test module for Filter module hooks and functions not used in core.

File

tests/filter_test.module
View source
<?php

/**
 * @file
 * Test module for Filter module hooks and functions not used in core.
 */

/**
 * Implement hook_filter_format_insert().
 */
function filter_test_filter_format_insert($format) {
  drupal_set_message('hook_filter_format_insert invoked.');
}

/**
 * Implement hook_filter_format_update().
 */
function filter_test_filter_format_update($format) {
  drupal_set_message('hook_filter_format_update invoked.');
}

/**
 * Implement hook_filter_format_delete().
 */
function filter_test_filter_format_delete($format, $default) {
  drupal_set_message('hook_filter_format_delete invoked.');
}