private function getLanguages($options)
    {
        if (!empty($options['lang'])) {
            return Text::getArrayFromString($options['lang']);
        }

        return $this->siteAccessHelper->getLanguages($options['mandatorId'], $options['siteaccess']);
    }