hook_filter_format_disable

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();
}
doc_Drupal
2016-10-29 09:18:14
Comments
Leave a Comment

Please login to continue.