summaryrefslogtreecommitdiffstats
path: root/core/modules/system/system.api.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/system/system.api.php')
-rw-r--r--core/modules/system/system.api.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/system/system.api.php b/core/modules/system/system.api.php
index aeb0cb7..0ca834a 100644
--- a/core/modules/system/system.api.php
+++ b/core/modules/system/system.api.php
@@ -424,8 +424,8 @@ function hook_mail($key, &$message, $params) {
'%term_name' => $entity->name,
'%term_description' => $entity->description,
'%term_id' => $entity->id(),
- '%vocabulary_name' => $vocabulary->name,
- '%vocabulary_description' => $vocabulary->description,
+ '%vocabulary_name' => $vocabulary->label(),
+ '%vocabulary_description' => $vocabulary->getDescription(),
'%vocabulary_id' => $vocabulary->id(),
);
}