You are here

protected function FieldModuleUninstallValidatorTest::getModuleInstaller in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Tests/Field/FieldModuleUninstallValidatorTest.php \Drupal\system\Tests\Field\FieldModuleUninstallValidatorTest::getModuleInstaller()

Returns the ModuleInstaller.

Return value

\Drupal\Core\Extension\ModuleInstallerInterface

File

core/modules/system/src/Tests/Field/FieldModuleUninstallValidatorTest.php, line 138
Contains \Drupal\system\Tests\Field\FieldModuleUninstallValidatorTest.

Class

FieldModuleUninstallValidatorTest
Tests FieldModuleUninstallValidator functionality.

Namespace

Drupal\system\Tests\Field

Code

protected function getModuleInstaller() {
  return $this->container
    ->get('module_installer');
}