Same name and namespace in other branches
  1. 10 core/modules/filter/filter.api.php \hook_filter_format_disable()
  2. 8.9.x core/modules/filter/filter.api.php \hook_filter_format_disable()
  3. 9 core/modules/filter/filter.api.php \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 modules/simpletest/tests/filter_test.module
Implements hook_filter_format_disable().
text_filter_format_disable in modules/field/modules/text/text.module
Implements hook_filter_format_disable().
1 invocation of hook_filter_format_disable()
filter_format_disable in modules/filter/filter.module
Disables a text format.

File

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

Code

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