function hook_filter_format_disable

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/core/modules/system/tests/modules/filter_test/filter_test.module
Implements hook_filter_format_disable().
text_filter_format_disable in drupal/core/modules/field/modules/text/text.module
Implements hook_filter_format_disable().
1 invocation of hook_filter_format_disable()
filter_format_disable in drupal/core/modules/filter/filter.module
Disables a text format.

File

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

Code

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