From 3316724f0d2eeb30a010ecfec933fe9d45bdb14c Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Wed, 27 Nov 2019 22:23:22 +0000 Subject: [PATCH] Issue #3092418 by ravi.shankar, Chi: Fix broken references in lanuage module --- .../modules/language/src/LanguageAccessControlHandler.php | 2 +- .../tests/src/Functional/LanguageSwitchingTest.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/modules/language/src/LanguageAccessControlHandler.php b/core/modules/language/src/LanguageAccessControlHandler.php index 0a4fb9892087..b80cfd3b08cd 100644 --- a/core/modules/language/src/LanguageAccessControlHandler.php +++ b/core/modules/language/src/LanguageAccessControlHandler.php @@ -10,7 +10,7 @@ /** * Defines the access control handler for the language entity type. * - * @see \Drupal\language\Entity\Language + * @see \Drupal\language\Entity\ConfigurableLanguage */ class LanguageAccessControlHandler extends EntityAccessControlHandler { diff --git a/core/modules/language/tests/src/Functional/LanguageSwitchingTest.php b/core/modules/language/tests/src/Functional/LanguageSwitchingTest.php index 6605a0c7de43..6e0fa3b2f0b3 100644 --- a/core/modules/language/tests/src/Functional/LanguageSwitchingTest.php +++ b/core/modules/language/tests/src/Functional/LanguageSwitchingTest.php @@ -69,7 +69,7 @@ public function testLanguageBlock() { * @param string $block_label * The label of the language switching block. * - * @see testLanguageBlock() + * @see self::testLanguageBlock() */ protected function doTestLanguageBlockAuthenticated($block_label) { // Assert that the language switching block is displayed on the frontpage. @@ -120,7 +120,7 @@ protected function doTestLanguageBlockAuthenticated($block_label) { * @param string $block_label * The label of the language switching block. * - * @see testLanguageBlock() + * @see self::testLanguageBlock() */ protected function doTestLanguageBlockAnonymous($block_label) { $this->drupalLogout(); @@ -292,7 +292,7 @@ public function testLanguageBodyClass() { /** * For authenticated users, the "active" class is set by JavaScript. * - * @see testLanguageLinkActiveClass() + * @see self::testLanguageLinkActiveClass() */ protected function doTestLanguageLinkActiveClassAuthenticated() { $function_name = '#type link'; @@ -352,7 +352,7 @@ protected function doTestLanguageLinkActiveClassAuthenticated() { /** * For anonymous users, the "active" class is set by PHP. * - * @see testLanguageLinkActiveClass() + * @see self::testLanguageLinkActiveClass() */ protected function doTestLanguageLinkActiveClassAnonymous() { $function_name = '#type link'; -- GitLab