You are here

public function TcaPermissionGenerator::__construct in Token Content Access 8

Same name and namespace in other branches
  1. 2.0.x src/TcaPermissionGenerator.php \Drupal\tca\TcaPermissionGenerator::__construct()

Constructor.

File

src/TcaPermissionGenerator.php, line 37

Class

TcaPermissionGenerator
Class TcaPermissionGenerator.

Namespace

Drupal\tca

Code

public function __construct(EntityTypeManagerInterface $etm, TcaPluginManager $tca_plugin_manager, TranslationInterface $translation) {
  $this->entityTypeManager = $etm;
  $this->tcaPluginManager = $tca_plugin_manager;
  $this->stringTranslation = $translation;
}