You are here

public function RulesEventUserAclDeriver::__construct in Content Access 8

Creates a new RulesEventUserAclDeriver object.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

File

src/Plugin/Deriver/RulesEventUserAclDeriver.php, line 28

Class

RulesEventUserAclDeriver
Derives 'User was added to ACL' plugin definition.

Namespace

Drupal\content_access\Plugin\Deriver

Code

public function __construct(ModuleHandlerInterface $module_handler) {
  $this->moduleHandler = $module_handler;
}