You are here

protected function FieldModuleUninstallValidatorTest::getModuleHandler 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::getModuleHandler()

Returns the ModuleHandler.

Return value

\Drupal\Core\Extension\ModuleHandlerInterface

File

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

Class

FieldModuleUninstallValidatorTest
Tests FieldModuleUninstallValidator functionality.

Namespace

Drupal\system\Tests\Field

Code

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