You are here

protected function ModuleHandlerTest::moduleHandler in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php \Drupal\Tests\system\Kernel\Extension\ModuleHandlerTest::moduleHandler()

Returns the ModuleHandler.

Return value

\Drupal\Core\Extension\ModuleHandlerInterface

File

core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php, line 322
Contains \Drupal\system\Tests\Extension\ModuleHandlerTest.

Class

ModuleHandlerTest
Tests ModuleHandler functionality.

Namespace

Drupal\Tests\system\Kernel\Extension

Code

protected function moduleHandler() {
  return $this->container
    ->get('module_handler');
}