function TourPluginTest::setUp

Same name in other branches
  1. 9 core/modules/tour/tests/src/Kernel/TourPluginTest.php \Drupal\Tests\tour\Kernel\TourPluginTest::setUp()
  2. 8.9.x core/modules/tour/tests/src/Kernel/TourPluginTest.php \Drupal\Tests\tour\Kernel\TourPluginTest::setUp()
  3. 10 core/modules/tour/tests/src/Kernel/TourPluginTest.php \Drupal\Tests\tour\Kernel\TourPluginTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/tour/tests/src/Kernel/TourPluginTest.php, line 32

Class

TourPluginTest
Tests the functionality of tour plugins.

Namespace

Drupal\Tests\tour\Kernel

Code

protected function setUp() : void {
    parent::setUp();
    $this->installConfig([
        'tour',
    ]);
    $this->pluginManager = $this->container
        ->get('plugin.manager.tour.tip');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.