You are here

public function RulesActionUserAclDeriver::__construct in Content Access 8

Creates a new RulesActionUserAclDeriver object.

Parameters

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

\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The string translation service.

File

src/Plugin/Deriver/RulesActionUserAclDeriver.php, line 33

Class

RulesActionUserAclDeriver
Derives Content Access User plugin definitions.

Namespace

Drupal\content_access\Plugin\Deriver

Code

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