Issue #1994292 by David_Rothstein: LanguageInterface::TYPE_URL (D8) and LANGUAGE_TYPE_URL (D7) have no name or description

merge-requests/3045/head
Juraj Nemec 2022-09-02 21:43:45 +02:00
parent b03b6139d5
commit ee6e664594
No known key found for this signature in database
GPG Key ID: 01EC3E1EECB5B2CA
1 changed files with 2 additions and 0 deletions

View File

@ -555,6 +555,8 @@ function locale_language_types_info() {
'fixed' => array(LOCALE_LANGUAGE_NEGOTIATION_INTERFACE),
),
LANGUAGE_TYPE_URL => array(
'name' => t('URL'),
'description' => t('Order of language detection methods for URLs. The detected language will be used as the default when generating URLs for internal links on the site.'),
'fixed' => array(LOCALE_LANGUAGE_NEGOTIATION_URL, LOCALE_LANGUAGE_NEGOTIATION_URL_FALLBACK),
),
);