protected function getDefaultTranslationKeys() { $default_translation_keys = parent::getDefaultTranslationKeys(); // will be available as "translations.input_help" in the twig template while the actual // translation key lookup will be for "field_name.input_help" in the "…fields" translation_domain $field_translation_keys = ['input_help', 'input_hint', 'input_focus_hint', 'placeholder', 'title']; return array_replace($default_translation_keys, $field_translation_keys); }