function 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.