public LanguageManager::getLanguageSwitchLinks($type, Url $url)
Returns the language switch links for the given language type.
string $type: The language type.
\Drupal\Core\Url $url: The URL the switch links will be relative to.
array A keyed array of links ready to be themed.
Overrides LanguageManagerInterface::getLanguageSwitchLinks
public function getLanguageSwitchLinks($type, Url $url) { return array(); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Language!LanguageManager.php/function/LanguageManager::getLanguageSwitchLinks/8.1.x