diff --git a/core/modules/language/src/Plugin/Block/LanguageBlock.php b/core/modules/language/src/Plugin/Block/LanguageBlock.php index 845ba5c..54a02fb 100644 --- a/core/modules/language/src/Plugin/Block/LanguageBlock.php +++ b/core/modules/language/src/Plugin/Block/LanguageBlock.php @@ -134,7 +134,7 @@ public function getCacheMaxAge() { public function blockForm($form, FormStateInterface $form_state) { $form = parent::blockForm($form, $form_state); $languages = $this->languageManager->getLanguages(); - // Warn the user that if only one language is enabled the block won't appear + // Warn the user that if only one language is enabled the block won't appear. if (count($languages) == 1) { drupal_set_message($this->t('Only one language is enabled. Therefore the language switcher block will not be shown.'), 'warning'); }