You are here

function facets_language_switch_links_alter in Facets 8

Implements hook_language_switch_links_alter().

File

./facets.module, line 340
Contains facets.module.

Code

function facets_language_switch_links_alter(array &$links, $type, Url $url) {

  /** @var \Drupal\facets\LanguageSwitcherLinksAlterer $alterer */
  $alterer = \Drupal::service('facets.language_switcher_links_alterer');
  $alterer
    ->alter($links, $type, $url);
}