function hook_filter_format_disable

Perform actions when a text format has been disabled.

Parameters

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

Related topics

2 functions implement hook_filter_format_disable()

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_disable in drupal/core/modules/filter/tests/filter_test/filter_test.module
Implements hook_filter_format_disable().
text_filter_format_disable in drupal/core/modules/text/text.module
Implements hook_filter_format_disable().
1 invocation of hook_filter_format_disable()
FilterFormat::disable in drupal/core/modules/filter/lib/Drupal/filter/Plugin/Core/Entity/FilterFormat.php
Implements \Drupal\Core\Config\Entity\ConfigEntityInterface::disable().

File

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

Code

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