Same filename and directory in other branches
- 8.9.x core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTestBase.php
- 9 core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTestBase.php
Namespace
Drupal\Tests\system\Kernel\Token
File
core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTestBase.php
View source
<?php
declare (strict_types=1);
namespace Drupal\Tests\system\Kernel\Token;
use Drupal\KernelTests\Core\Entity\EntityKernelTestBase;
abstract class TokenReplaceKernelTestBase extends EntityKernelTestBase {
protected $interfaceLanguage;
protected $tokenService;
protected static $modules = [
'system',
];
protected function setUp() : void {
parent::setUp();
$this
->installConfig([
'system',
]);
$this->interfaceLanguage = \Drupal::languageManager()
->getCurrentLanguage();
$this->tokenService = \Drupal::token();
}
}
Classes