Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
2466bc03
Commit
2466bc03
authored
Jun 2, 2015
by
Alex Pott
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#2494679
by Xano: Fix LanguageNegotiatorInterface type hints in docblocks
parent
a79508ac
No related branches found
No related tags found
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/modules/language/src/LanguageNegotiatorInterface.php
+5
-5
5 additions, 5 deletions
core/modules/language/src/LanguageNegotiatorInterface.php
with
5 additions
and
5 deletions
core/modules/language/src/LanguageNegotiatorInterface.php
+
5
−
5
View file @
2466bc03
...
...
@@ -142,7 +142,7 @@ public function initializeType($type);
* (optional) The language type. If no type is specified all the method
* definitions are returned.
*
* @return array
* @return array
[]
* An array of language negotiation method definitions keyed by method id.
*/
public
function
getNegotiationMethods
(
$type
=
NULL
);
...
...
@@ -163,7 +163,7 @@ public function getNegotiationMethodInstance($method_id);
* @param $type
* The language type.
*
* @return
* @return
string
* The identifier of the primary language negotiation method for the given
* language type, or the default method if none exists.
*/
...
...
@@ -178,7 +178,7 @@ public function getPrimaryNegotiationMethod($type);
* (optional) The language type. If none is passed, all the configurable
* language types will be inspected.
*
* @return
* @return
bool
* TRUE if the method is enabled for at least one of the given language
* types, or FALSE otherwise.
*/
...
...
@@ -189,7 +189,7 @@ public function isNegotiationMethodEnabled($method_id, $type = NULL);
*
* @param string $type
* The language type.
* @param
array
$enabled_methods
* @param
int[]
$enabled_methods
* An array of language negotiation method weights keyed by method ID.
*/
function
saveConfiguration
(
$type
,
$enabled_methods
);
...
...
@@ -206,7 +206,7 @@ function purgeConfiguration();
* configurable state. Stores the default settings if the language type is
* not configurable.
*
* @param
array
$types
* @param
string[]
$types
* An array of configurable language types.
*/
function
updateConfiguration
(
array
$types
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment