function hook_filter_format_insert

Perform actions when a new text format has been created.

Parameters

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

See also

hook_filter_format_update()

hook_filter_format_disable()

Related topics

1 function implements hook_filter_format_insert()

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_insert in drupal/modules/simpletest/tests/filter_test.module
Implements hook_filter_format_insert().
1 invocation of hook_filter_format_insert()
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 287
Hooks provided by the Filter module.

Code

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