src/View/Helper/LanguageSwitcherHelper.php
public function renderLanguageSwitcher()
    {
        return $this->_View->element($this->config('element'), [
            'availableLanguages' => $this->config('availableLanguages'),
            'displayNames' => $this->config('displayNames'),
            'imageMapping' => $this->config('imageMapping'),
            'renderToggleButtonDisplayName' => $this->config('renderToggleButtonDisplayName')
        ]);
    }
public function renderLanguageSwitcher()
    {
        return $this->_View->element($this->config('element'), [
            'availableLanguages' => $this->config('availableLanguages'),
            'displayNames' => $this->config('displayNames'),
            'imageMapping' => $this->config('imageMapping'),
            'renderToggleButtonDisplayName' => $this->config('renderToggleButtonDisplayName')
        ]);
    }
Renders language switcher dropdown

@return element