Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / user / src / Plugin / migrate / process / UserLangcode.php
index 80f20783b62274f61bcc48ad83628dbdd6c2708b..174c8a557c18dfc5cf89d6ff72f2246b572e33ce 100644 (file)
@@ -33,7 +33,7 @@ class UserLangcode extends ProcessPluginBase implements ContainerFactoryPluginIn
    * @param string $plugin_id
    *   The plugin ID.
    * @param mixed $plugin_definition
-   *   The plugin definiiton.
+   *   The plugin definition.
    * @param \Drupal\Core\Language\LanguageManager $language_manager
    *   The language manager service.
    */
@@ -74,7 +74,7 @@ class UserLangcode extends ProcessPluginBase implements ContainerFactoryPluginIn
         return 'en';
       }
     }
-    // If the user's language does not exists, use the default language.
+    // If the user's language does not exist, use the default language.
     elseif ($this->languageManager->getLanguage($value) === NULL) {
       return $this->languageManager->getDefaultLanguage()->getId();
     }