function hook_filter_format_update

7.x 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

2 functions implement hook_filter_format_update()

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_update in drupal/modules/simpletest/tests/filter_test.module
Implements hook_filter_format_update().
text_filter_format_update in drupal/modules/field/modules/text/text.module
Implements hook_filter_format_update().
1 invocation of hook_filter_format_update()
filter_format_save in drupal/modules/filter/filter.module
Saves a text format object to the database.

File

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

Code

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