diff --git a/token.tokens.inc b/token.tokens.inc index bd0cfd0..5c6f341 100644 --- a/token.tokens.inc +++ b/token.tokens.inc @@ -70,11 +70,9 @@ function token_token_info_alter(&$info) { $token_type = $entity_info->get('token_type'); if (!isset($info['types'][$token_type]) || !isset($info['tokens'][$token_type])) { - $entity_type_label = Unicode::strtolower($entity_info->getPluralLabel()); // Define tokens for entity type's without their own integration. $info['types'][$entity_info->id()] = [ 'name' => $entity_info->getLabel(), - 'description' => t('Tokens related to @entity_type.', ['@entity_type' => $entity_type_label]), 'needs-data' => $entity_info->id(), 'module' => 'token', ];