You are here

protected function ModuleHandlerTest::moduleInstaller in Service Container 7.2

Same name and namespace in other branches
  1. 7 lib/Drupal/service_container/Tests/ModuleHandlerTest.php \Drupal\service_container\Tests\ModuleHandlerTest::moduleInstaller()

Returns the ModuleInstaller.

Return value

\Drupal\Core\Extension\ModuleInstallerInterface

File

lib/Drupal/service_container/Tests/ModuleHandlerTest.php, line 273
Contains \Drupal\service_container\Tests\ModuleHandlerTest.

Class

ModuleHandlerTest
Tests the module_handler implementation of the service_container.

Namespace

Drupal\service_container\Tests

Code

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