123456789101112131415161718192021222324252627 |
- <?php
- /**
- * @file
- * Test module for Filter module hooks and functions not used in core.
- */
- /**
- * Implements hook_ENTITY_TYPE_insert().
- */
- function filter_test_filter_format_insert($format) {
- \Drupal::messenger()->addStatus('hook_filter_format_insert invoked.');
- }
- /**
- * Implements hook_ENTITY_TYPE_update().
- */
- function filter_test_filter_format_update($format) {
- \Drupal::messenger()->addStatus('hook_filter_format_update invoked.');
- }
- /**
- * Implements hook_filter_format_disable().
- */
- function filter_test_filter_format_disable($format) {
- \Drupal::messenger()->addStatus('hook_filter_format_disable invoked.');
- }
|