* 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.');
}