function hook_filter_format_disable

7.x filter.api.php hook_filter_format_disable($format)
8.x filter.api.php hook_filter_format_disable($format)

Perform actions when a text format has been disabled.

Parameters

$format: The format object of the format being disabled.

See also

hook_filter_format_insert()

hook_filter_format_update()

Related topics

2 functions implement hook_filter_format_disable()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

filter_test_filter_format_disable in drupal/modules/simpletest/tests/filter_test.module
Implements hook_filter_format_disable().
text_filter_format_disable in drupal/modules/field/modules/text/text.module
Implements hook_filter_format_disable().
1 invocation of hook_filter_format_disable()
filter_format_disable in drupal/modules/filter/filter.module
Disables a text format.

File

drupal/modules/filter/filter.api.php, line 317
Hooks provided by the Filter module.

Code

function hook_filter_format_disable($format) {
  mymodule_cache_rebuild();
}