function MessengerTest::setUp
Same name in other branches
- 9 core/tests/Drupal/KernelTests/Core/Messenger/MessengerTest.php \Drupal\KernelTests\Core\Messenger\MessengerTest::setUp()
- 8.9.x core/tests/Drupal/KernelTests/Core/Messenger/MessengerTest.php \Drupal\KernelTests\Core\Messenger\MessengerTest::setUp()
- 10 core/tests/Drupal/KernelTests/Core/Messenger/MessengerTest.php \Drupal\KernelTests\Core\Messenger\MessengerTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Messenger/ MessengerTest.php, line 28
Class
- MessengerTest
- @group Messenger @coversDefaultClass \Drupal\Core\Messenger\Messenger
Namespace
Drupal\KernelTests\Core\MessengerCode
protected function setUp() : void {
parent::setUp();
$this->messenger = \Drupal::service('messenger');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.