summaryrefslogtreecommitdiff
path: root/modules/system/language.api.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/language.api.php')
-rw-r--r--modules/system/language.api.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/system/language.api.php b/modules/system/language.api.php
index d868b6fef..f8e6a256d 100644
--- a/modules/system/language.api.php
+++ b/modules/system/language.api.php
@@ -118,11 +118,11 @@ function hook_language_types_info_alter(array &$language_types) {
* will be available for all the configurable language types.
* - callbacks: An associative array of functions that will be called to
* perform various tasks. Possible elements are:
- * - negotiation: (required) Name of the callback function that determines
- * the language value.
- * - language_switch: (optional) Name of the callback function that
- * determines links for a language switcher block associated with this
- * provider. See language_switcher_url() for an example.
+ * - language: (required) Name of the callback function that determines the
+ * language value.
+ * - switcher: (optional) Name of the callback function that determines
+ * links for a language switcher block associated with this provider. See
+ * language_switcher_url() for an example.
* - url_rewrite: (optional) Name of the callback function that provides URL
* rewriting, if needed by this provider.
* - file: The file where callback functions are defined (this file will be