hook_filter_format_insert

  1. drupal
    1. 8
    2. 7
Versions
8 – 7 hook_filter_format_insert($format)

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

Code

modules/filter/filter.api.php, line 287

<?php
function hook_filter_format_insert($format) {
  mymodule_cache_rebuild();
}
?>