You are here

public function EntityLegalController::__construct in Entity Legal 3.0.x

Same name and namespace in other branches
  1. 8.2 src/Controller/EntityLegalController.php \Drupal\entity_legal\Controller\EntityLegalController::__construct()
  2. 4.0.x src/Controller/EntityLegalController.php \Drupal\entity_legal\Controller\EntityLegalController::__construct()

EntityLegalController constructor.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $entity_legal_document_version_storage: The custom block storage.

\Drupal\Core\Utility\Token $token: The token service.

File

src/Controller/EntityLegalController.php, line 53

Class

EntityLegalController
Class EntityLegalController.

Namespace

Drupal\entity_legal\Controller

Code

public function __construct(EntityStorageInterface $entity_legal_document_version_storage, Token $token) {
  $this->entityLegalDocumentVersionStorage = $entity_legal_document_version_storage;
  $this->token = $token;
}