function TourPluginTest::setUp

Same name in other branches
  1. 8.9.x core/modules/tour/tests/src/Kernel/TourPluginTest.php \Drupal\Tests\tour\Kernel\TourPluginTest::setUp()
  2. 10 core/modules/tour/tests/src/Kernel/TourPluginTest.php \Drupal\Tests\tour\Kernel\TourPluginTest::setUp()
  3. 11.x 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 33

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.