Issue #3092418 by ravi.shankar, Chi: Fix broken references in lanuage module
parent
adb696a9d6
commit
3316724f0d
|
@ -10,7 +10,7 @@ use Drupal\Core\Session\AccountInterface;
|
||||||
/**
|
/**
|
||||||
* Defines the access control handler for the language entity type.
|
* Defines the access control handler for the language entity type.
|
||||||
*
|
*
|
||||||
* @see \Drupal\language\Entity\Language
|
* @see \Drupal\language\Entity\ConfigurableLanguage
|
||||||
*/
|
*/
|
||||||
class LanguageAccessControlHandler extends EntityAccessControlHandler {
|
class LanguageAccessControlHandler extends EntityAccessControlHandler {
|
||||||
|
|
||||||
|
|
|
@ -69,7 +69,7 @@ class LanguageSwitchingTest extends BrowserTestBase {
|
||||||
* @param string $block_label
|
* @param string $block_label
|
||||||
* The label of the language switching block.
|
* The label of the language switching block.
|
||||||
*
|
*
|
||||||
* @see testLanguageBlock()
|
* @see self::testLanguageBlock()
|
||||||
*/
|
*/
|
||||||
protected function doTestLanguageBlockAuthenticated($block_label) {
|
protected function doTestLanguageBlockAuthenticated($block_label) {
|
||||||
// Assert that the language switching block is displayed on the frontpage.
|
// Assert that the language switching block is displayed on the frontpage.
|
||||||
|
@ -120,7 +120,7 @@ class LanguageSwitchingTest extends BrowserTestBase {
|
||||||
* @param string $block_label
|
* @param string $block_label
|
||||||
* The label of the language switching block.
|
* The label of the language switching block.
|
||||||
*
|
*
|
||||||
* @see testLanguageBlock()
|
* @see self::testLanguageBlock()
|
||||||
*/
|
*/
|
||||||
protected function doTestLanguageBlockAnonymous($block_label) {
|
protected function doTestLanguageBlockAnonymous($block_label) {
|
||||||
$this->drupalLogout();
|
$this->drupalLogout();
|
||||||
|
@ -292,7 +292,7 @@ class LanguageSwitchingTest extends BrowserTestBase {
|
||||||
/**
|
/**
|
||||||
* For authenticated users, the "active" class is set by JavaScript.
|
* For authenticated users, the "active" class is set by JavaScript.
|
||||||
*
|
*
|
||||||
* @see testLanguageLinkActiveClass()
|
* @see self::testLanguageLinkActiveClass()
|
||||||
*/
|
*/
|
||||||
protected function doTestLanguageLinkActiveClassAuthenticated() {
|
protected function doTestLanguageLinkActiveClassAuthenticated() {
|
||||||
$function_name = '#type link';
|
$function_name = '#type link';
|
||||||
|
@ -352,7 +352,7 @@ class LanguageSwitchingTest extends BrowserTestBase {
|
||||||
/**
|
/**
|
||||||
* For anonymous users, the "active" class is set by PHP.
|
* For anonymous users, the "active" class is set by PHP.
|
||||||
*
|
*
|
||||||
* @see testLanguageLinkActiveClass()
|
* @see self::testLanguageLinkActiveClass()
|
||||||
*/
|
*/
|
||||||
protected function doTestLanguageLinkActiveClassAnonymous() {
|
protected function doTestLanguageLinkActiveClassAnonymous() {
|
||||||
$function_name = '#type link';
|
$function_name = '#type link';
|
||||||
|
|
Loading…
Reference in New Issue