protected function ModuleHandlerTest::moduleInstaller in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php \Drupal\Tests\system\Kernel\Extension\ModuleHandlerTest::moduleInstaller()
- 9 core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php \Drupal\Tests\system\Kernel\Extension\ModuleHandlerTest::moduleInstaller()
Returns the ModuleInstaller.
Return value
\Drupal\Core\Extension\ModuleInstallerInterface
6 calls to ModuleHandlerTest::moduleInstaller()
- ModuleHandlerTest::testDependencyResolution in core/modules/ system/ tests/ src/ Kernel/ Extension/ ModuleHandlerTest.php 
- Tests dependency resolution.
- ModuleHandlerTest::testModuleList in core/modules/ system/ tests/ src/ Kernel/ Extension/ ModuleHandlerTest.php 
- The basic functionality of retrieving enabled modules.
- ModuleHandlerTest::testModuleStreamWrappers in core/modules/ system/ tests/ src/ Kernel/ Extension/ ModuleHandlerTest.php 
- Tests whether module-provided stream wrappers are registered properly.
- ModuleHandlerTest::testProfileAllDependencies in core/modules/ system/ tests/ src/ Kernel/ Extension/ ModuleHandlerTest.php 
- Tests that a profile can supply only real dependencies.
- ModuleHandlerTest::testUninstallContentDependency in core/modules/ system/ tests/ src/ Kernel/ Extension/ ModuleHandlerTest.php 
- Tests uninstalling a module that has content.
File
- core/modules/ system/ tests/ src/ Kernel/ Extension/ ModuleHandlerTest.php, line 358 
Class
- ModuleHandlerTest
- Tests ModuleHandler functionality.
Namespace
Drupal\Tests\system\Kernel\ExtensionCode
protected function moduleInstaller() {
  return $this->container
    ->get('module_installer');
}