public static UserAgent::getBestMatchingLangcode($http_accept_language, $langcodes
Provides user agent related utility functions. Hierarchy class \Drupal\Component\Utility\