protected function GroupTokenReplaceKernelTestBase::setUp in Group 8
Same name and namespace in other branches
- 2.0.x 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();
}