1 filter.api.php hook_filter_format_update($format)

Perform actions when a text format has been updated.

This hook allows modules to act when a text format has been updated in any way. For example, when filters have been reconfigured, disabled, or re-arranged in the text format.

Parameters

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

See also

hook_filter_format_insert()

hook_filter_format_disable()

Related topics

File

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

Code

function hook_filter_format_update($format) {
  my_module_cache_rebuild();
}