Provides user agent related utility functions.
Hierarchy
- class \Drupal\Component\Utility\UserAgent
Related topics
- Utility classes and functions
- Overview of utility classes and functions for developers.
File
- core/lib/Drupal/Component/Utility/UserAgent.php, line 10
Namespace
Drupal\Component\Utility
Members
Name | Modifiers | Type | Description |
---|---|---|---|
UserAgent::getBestMatchingLangcode | public static | function | Identifies user agent language from the Accept-language HTTP header. |
Please login to continue.