/** * Gets the fallback locales. * * @return array $locales The fallback locales */ public function getFallbackLocales() { if ($this->translator instanceof Translator) { return $this->translator->getFallbackLocales(); } return array(); }