hook_filter_format_disable($format)
Perform actions when a text format has been disabled.
Parameters
\Drupal\filter\FilterFormatInterface $format: The format object of the format being disabled.
Related topics
- Hooks
- Define functions that alter the behavior of Drupal core.
File
- core/modules/filter/filter.api.php, line 54
- Hooks provided by the Filter module.
Code
function hook_filter_format_disable($format) { mymodule_cache_rebuild(); }
Please login to continue.