protected function GroupTokenReplaceKernelTestBase::setUp in Group 2.0.x
Same name and namespace in other branches
- 8 tests/src/Kernel/GroupTokenReplaceKernelTestBase.php \Drupal\Tests\group\Kernel\GroupTokenReplaceKernelTestBase::setUp()
Overrides GroupKernelTestBase::setUp
File
- tests/
src/ Kernel/ GroupTokenReplaceKernelTestBase.php, line 24
Class
- GroupTokenReplaceKernelTestBase
- Base class for group token replacement tests.
Namespace
Drupal\Tests\group\KernelCode
protected function setUp() {
parent::setUp();
$this->interfaceLanguage = \Drupal::languageManager()
->getCurrentLanguage();
$this->tokenService = \Drupal::token();
}