filter_test.module in SimpleTest 7
Test module for Filter module hooks and functions not used in core.
File
tests/filter_test.moduleView 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.');
}
Functions
Name | Description |
---|---|
filter_test_filter_format_delete | Implement hook_filter_format_delete(). |
filter_test_filter_format_insert | Implement hook_filter_format_insert(). |
filter_test_filter_format_update | Implement hook_filter_format_update(). |