summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/language
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/language')
-rw-r--r--core/modules/language/language.permissions.yml1
-rw-r--r--core/modules/language/src/Form/NegotiationBrowserDeleteForm.php2
-rw-r--r--core/modules/language/src/LanguageNegotiatorInterface.php2
3 files changed, 3 insertions, 2 deletions
diff --git a/core/modules/language/language.permissions.yml b/core/modules/language/language.permissions.yml
index 85c3b9199447..81762ae88739 100644
--- a/core/modules/language/language.permissions.yml
+++ b/core/modules/language/language.permissions.yml
@@ -1,2 +1,3 @@
administer languages:
title: 'Administer languages'
+ restrict access: true
diff --git a/core/modules/language/src/Form/NegotiationBrowserDeleteForm.php b/core/modules/language/src/Form/NegotiationBrowserDeleteForm.php
index fc87845eb610..28c63580ba70 100644
--- a/core/modules/language/src/Form/NegotiationBrowserDeleteForm.php
+++ b/core/modules/language/src/Form/NegotiationBrowserDeleteForm.php
@@ -8,7 +8,7 @@ use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Url;
/**
- * Defines a confirmation form for deleting a browser language negotiation mapping.
+ * The confirmation form for deleting a browser language negotiation mapping.
*
* @internal
*/
diff --git a/core/modules/language/src/LanguageNegotiatorInterface.php b/core/modules/language/src/LanguageNegotiatorInterface.php
index 6893639889cd..b0ca173d3dbc 100644
--- a/core/modules/language/src/LanguageNegotiatorInterface.php
+++ b/core/modules/language/src/LanguageNegotiatorInterface.php
@@ -165,7 +165,7 @@ interface LanguageNegotiatorInterface {
public function getPrimaryNegotiationMethod($type);
/**
- * Checks whether a language negotiation method is enabled for a language type.
+ * Checks if a language negotiation method is enabled for a language type.
*
* @param string $method_id
* The language negotiation method ID.