You are here

protected property OnlyOneModuleHandler::$moduleHandler in Allow a content type only once (Only One) 8

The module handler service.

Type: \Drupal\Core\Extension\ModuleHandlerInterface

File

src/OnlyOneModuleHandler.php, line 21

Class

OnlyOneModuleHandler
Class OnlyOne.

Namespace

Drupal\onlyone

Code

protected $moduleHandler;