diff options
author | Alex Pott <alex.a.pott@googlemail.com> | 2015-05-26 14:40:49 +0100 |
---|---|---|
committer | Alex Pott <alex.a.pott@googlemail.com> | 2015-05-26 14:40:49 +0100 |
commit | c13aaddce1e8c3d97de60c2a14304909ecc42886 (patch) | |
tree | 84de7ecab876728a55a3c4a735fc8478f05a9331 | |
parent | 150dc501cf2a190c0b5ccb61fe86862216bdcad0 (diff) | |
download | drupal-c13aaddce1e8c3d97de60c2a14304909ecc42886.tar.gz drupal-c13aaddce1e8c3d97de60c2a14304909ecc42886.zip |
Issue #1994292 by David_Rothstein, Gábor Hojtsy: LanguageInterface::TYPE_URL (D8) and LANGUAGE_TYPE_URL (D7) have no name or description
-rw-r--r-- | core/modules/language/language.module | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/modules/language/language.module b/core/modules/language/language.module index fe37fe92679..9d6fa55b645 100644 --- a/core/modules/language/language.module +++ b/core/modules/language/language.module @@ -307,6 +307,8 @@ function language_language_types_info() { 'locked' => TRUE, ), LanguageInterface::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(LanguageNegotiationUrl::METHOD_ID, LanguageNegotiationUrlFallback::METHOD_ID), 'locked' => TRUE, ), |