function hook_filter_format_insert

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

File

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

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!filter!filter.api.php/function/hook_filter_format_insert/7.x