You are here

public function NodeEntityBundleInfo::__construct in Permissions by Term 8

Same name and namespace in other branches
  1. 8.2 src/Service/NodeEntityBundleInfo.php \Drupal\permissions_by_term\Service\NodeEntityBundleInfo::__construct()

Info constructor.

Parameters

AccessStorage $accessStorage:

TermHandler $term:

TwigEnvironment $twig:

Connection $database:

File

src/Service/NodeEntityBundleInfo.php, line 45

Class

NodeEntityBundleInfo
Class Info

Namespace

Drupal\permissions_by_term\Service

Code

public function __construct(AccessStorage $accessStorage, TermHandler $term, TwigEnvironment $twig, Connection $database) {
  $this->accessStorage = $accessStorage;
  $this->term = $term;
  $this->twig = $twig;
  $this->database = $database;
}