PermissionHandlerTest::$moduleHandler

Same name in other branches
  1. 9 core/modules/user/tests/src/Unit/PermissionHandlerTest.php \Drupal\Tests\user\Unit\PermissionHandlerTest::moduleHandler
  2. 10 core/modules/user/tests/src/Unit/PermissionHandlerTest.php \Drupal\Tests\user\Unit\PermissionHandlerTest::moduleHandler
  3. 11.x core/modules/user/tests/src/Unit/PermissionHandlerTest.php \Drupal\Tests\user\Unit\PermissionHandlerTest::moduleHandler

The mocked module handler.

Type: \Drupal\Core\Extension\ModuleHandlerInterface|\PHPUnit\Framework\MockObject\MockObject

File

core/modules/user/tests/src/Unit/PermissionHandlerTest.php, line 41

Class

PermissionHandlerTest
Tests the permission handler.

Namespace

Drupal\Tests\user\Unit

Code

protected $moduleHandler;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.