public LanguageManagerInterface::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.
public function getLanguageSwitchLinks($type, Url $url);
© 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!LanguageManagerInterface.php/function/LanguageManagerInterface::getLanguageSwitchLinks/8.1.x