X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fsystem%2Ftests%2Fthemes%2Ftest_theme%2Ftest_theme.theme;fp=web%2Fcore%2Fmodules%2Fsystem%2Ftests%2Fthemes%2Ftest_theme%2Ftest_theme.theme;h=423390d2225c08a855e392951fdf314a4b52fce7;hp=aa399b66c5370d11b7214e63b030440fa13a2614;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/system/tests/themes/test_theme/test_theme.theme b/web/core/modules/system/tests/themes/test_theme/test_theme.theme index aa399b66c..423390d22 100644 --- a/web/core/modules/system/tests/themes/test_theme/test_theme.theme +++ b/web/core/modules/system/tests/themes/test_theme/test_theme.theme @@ -53,7 +53,7 @@ function test_theme_theme_test_alter_alter(&$data) { * Implements hook_theme_suggestions_alter(). */ function test_theme_theme_suggestions_alter(array &$suggestions, array $variables, $hook) { - drupal_set_message(__FUNCTION__ . '() executed.'); + \Drupal::messenger()->addStatus(__FUNCTION__ . '() executed.'); // Theme alter hooks run after module alter hooks, so add this theme // suggestion to the beginning of the array so that the suggestion added by // the theme_suggestions_test module can be picked up when that module is @@ -67,7 +67,7 @@ function test_theme_theme_suggestions_alter(array &$suggestions, array $variable * Implements hook_theme_suggestions_HOOK_alter(). */ function test_theme_theme_suggestions_theme_test_suggestions_alter(array &$suggestions, array $variables) { - drupal_set_message(__FUNCTION__ . '() executed.'); + \Drupal::messenger()->addStatus(__FUNCTION__ . '() executed.'); // Theme alter hooks run after module alter hooks, so add this theme // suggestion to the beginning of the array so that the suggestion added by // the theme_suggestions_test module can be picked up when that module is