Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / filter / tests / filter_test / filter_test.module
index e3983b4f328d1cc2cdb98e3e2d7f984841c9bceb..27fedcb7d5a3c8ec944e774cf5f529768a326a9a 100644 (file)
@@ -9,19 +9,19 @@
  * Implements hook_filter_format_insert().
  */
 function filter_test_filter_format_insert($format) {
-  drupal_set_message('hook_filter_format_insert invoked.');
+  \Drupal::messenger()->addStatus('hook_filter_format_insert invoked.');
 }
 
 /**
  * Implements hook_filter_format_update().
  */
 function filter_test_filter_format_update($format) {
-  drupal_set_message('hook_filter_format_update invoked.');
+  \Drupal::messenger()->addStatus('hook_filter_format_update invoked.');
 }
 
 /**
  * Implements hook_filter_format_disable().
  */
 function filter_test_filter_format_disable($format) {
-  drupal_set_message('hook_filter_format_disable invoked.');
+  \Drupal::messenger()->addStatus('hook_filter_format_disable invoked.');
 }