You are here

protected function ModuleHandlerTest::moduleHandler in Service Container 7

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

Returns the ModuleHandler.

Return value

\Drupal\Core\Extension\ModuleHandlerInterface

File

lib/Drupal/service_container/Tests/ModuleHandlerTest.php, line 264
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 moduleHandler() {
  return $this->container
    ->get('module_handler');
}