drupal core updated to 7.28
This commit is contained in:
@@ -111,18 +111,18 @@ function hook_language_types_info_alter(array &$language_types) {
|
||||
*
|
||||
* @return
|
||||
* An associative array of language negotiation provider definitions. The keys
|
||||
* are provider identifiers, and the values are associative arrays definining
|
||||
* are provider identifiers, and the values are associative arrays defining
|
||||
* each provider, with the following elements:
|
||||
* - types: An array of allowed language types. If a language negotiation
|
||||
* provider does not specify which language types it should be used with, it
|
||||
* 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
|
||||
|
Reference in New Issue
Block a user