/** * {@inheritdoc} */ protected function normalizeLabel(AssociationTypeInterface $associationType) { $values = array(); foreach ($associationType->getTranslations() as $translation) { $values[sprintf('label-%s', $translation->getLocale())] = $translation->getLabel(); } return $values; }