diff -u b/core/lib/Drupal/Core/Language/Language.php b/core/lib/Drupal/Core/Language/Language.php --- b/core/lib/Drupal/Core/Language/Language.php +++ b/core/lib/Drupal/Core/Language/Language.php @@ -70,7 +70,8 @@ /** * The language negotiation method used when a language was detected. * - * The method ID, for example, LanguageNegotiatorInterface::METHOD_ID. + * The method ID, for example + * \Drupal\language\LanguageNegotiatorInterface::METHOD_ID. * * @var string * diff -u b/core/lib/Drupal/Core/Language/LanguageInterface.php b/core/lib/Drupal/Core/Language/LanguageInterface.php --- b/core/lib/Drupal/Core/Language/LanguageInterface.php +++ b/core/lib/Drupal/Core/Language/LanguageInterface.php @@ -97,18 +97,18 @@ const DIRECTION_RTL = 1; /** - * Gets the name of the Language object. + * Gets the name of the language. * * @return string - * The human readable English name of the Language. + * The human-readable English name of the language. */ public function getName(); /** - * Sets the name. + * Sets the name of the language. * * @param string $name - * The human readable English name of the Language. + * The human-readable English name of the language. * * @return $this */ @@ -118,7 +118,7 @@ * Gets the ID (language code). * * @return string - * The langcode. + * The language code. */ public function getId(); @@ -126,7 +126,7 @@ * Sets the ID (language code). * * @param string $id - * The langcode. + * The language code. * * @return $this */ @@ -182,7 +182,7 @@ * Sets whether this language is the default language. * * @param bool $default - * True if it is the default language. + * TRUE if it is the default language. * * @return $this */ @@ -192,7 +192,8 @@ * Gets the language negotiation method ID for this language. * * @return string - * The method ID, for example, LanguageNegotiatorInterface::METHOD_ID. + * The method ID, for example + * \Drupal\language\LanguageNegotiatorInterface::METHOD_ID. */ public function getNegotiationMethodId(); @@ -200,7 +201,8 @@ * Sets the language negotiation method ID for this language. * * @param string $method_id - * The method ID, for example, LanguageNegotiatorInterface::METHOD_ID. + * The method ID, for example + * \Drupal\language\LanguageNegotiatorInterface::METHOD_ID. * * @return $this */