__('emailTemplate.variable.context.contextAcronym'), ] ); } /** * @copydoc Variable::values() */ public function values(string $locale): array { $values = array_merge( parent::values($locale), [ static::CONTEXT_ACRONYM => htmlspecialchars($this->context->getLocalizedData('acronym')), ], ); // Pass the values into the context signature so variables // used in the signature can be rendered. $values[static::CONTEXT_SIGNATURE] = $this->getContextSignature($values); return $values; } }