function FilterTestHooks::filterFormatDisable
Same name and namespace in other branches
- main core/modules/filter/tests/filter_test/src/Hook/FilterTestHooks.php \Drupal\filter_test\Hook\FilterTestHooks::filterFormatDisable()
Implements hook_filter_format_disable().
Attributes
#[Hook('filter_format_disable')]
File
-
core/
modules/ filter/ tests/ filter_test/ src/ Hook/ FilterTestHooks.php, line 33
Class
- FilterTestHooks
- Hook implementations for filter_test.
Namespace
Drupal\filter_test\HookCode
public function filterFormatDisable($format) : void {
\Drupal::messenger()->addStatus('hook_filter_format_disable invoked.');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.