summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAlex Pott <alex.a.pott@googlemail.com>2015-05-26 14:40:49 +0100
committerAlex Pott <alex.a.pott@googlemail.com>2015-05-26 14:40:49 +0100
commitc13aaddce1e8c3d97de60c2a14304909ecc42886 (patch)
tree84de7ecab876728a55a3c4a735fc8478f05a9331
parent150dc501cf2a190c0b5ccb61fe86862216bdcad0 (diff)
downloaddrupal-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.module2
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,
),