summaryrefslogtreecommitdiffstats
path: root/core/modules/system/tests/themes/test_theme/test_theme.theme
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/system/tests/themes/test_theme/test_theme.theme')
-rw-r--r--core/modules/system/tests/themes/test_theme/test_theme.theme4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/system/tests/themes/test_theme/test_theme.theme b/core/modules/system/tests/themes/test_theme/test_theme.theme
index aa399b66..423390d 100644
--- a/core/modules/system/tests/themes/test_theme/test_theme.theme
+++ b/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