function TourPluginTest::testTourPlugins
Same name in other branches
- 8.9.x core/modules/tour/tests/src/Kernel/TourPluginTest.php \Drupal\Tests\tour\Kernel\TourPluginTest::testTourPlugins()
- 10 core/modules/tour/tests/src/Kernel/TourPluginTest.php \Drupal\Tests\tour\Kernel\TourPluginTest::testTourPlugins()
- 11.x core/modules/tour/tests/src/Kernel/TourPluginTest.php \Drupal\Tests\tour\Kernel\TourPluginTest::testTourPlugins()
Tests tour plugins.
File
-
core/
modules/ tour/ tests/ src/ Kernel/ TourPluginTest.php, line 43
Class
- TourPluginTest
- Tests the functionality of tour plugins.
Namespace
Drupal\Tests\tour\KernelCode
public function testTourPlugins() {
$this->assertCount(1, $this->pluginManager
->getDefinitions(), 'Only tour plugins for the enabled modules were returned.');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.