protected property OnlyOneModuleHandlerTest::$moduleHandler in Allow a content type only once (Only One) 8
A module handler instance.
Type: \Drupal\Core\Extension\ModuleHandlerInterface|\PHPUnit_Framework_MockObject_MockObject
File
- tests/
src/ Unit/ OnlyOneModuleHandlerTest.php, line 22
Class
- OnlyOneModuleHandlerTest
- Tests the OnlyOneModuleHandler class methods.
Namespace
Drupal\Tests\onlyone\UnitCode
protected $moduleHandler;