function ExtensionPathResolverTest::testExtensionPathResolvingPath
Same name in other branches
- 9 core/tests/Drupal/KernelTests/Core/Bootstrap/ExtensionPathResolverTest.php \Drupal\KernelTests\Core\Bootstrap\ExtensionPathResolverTest::testExtensionPathResolvingPath()
- 10 core/tests/Drupal/KernelTests/Core/Bootstrap/ExtensionPathResolverTest.php \Drupal\KernelTests\Core\Bootstrap\ExtensionPathResolverTest::testExtensionPathResolvingPath()
@covers ::getPath
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Bootstrap/ ExtensionPathResolverTest.php, line 51
Class
- ExtensionPathResolverTest
- Tests that extension path resolver works correctly.
Namespace
Drupal\KernelTests\Core\BootstrapCode
public function testExtensionPathResolvingPath() : void {
$this->assertSame('core/modules/system/tests/modules/driver_test', \Drupal::service('extension.list.module')->getPath('driver_test'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.