You are here

public function ConnectionAddController::__construct in RedHen CRM 8

Initialize entity storage.

File

modules/redhen_connection/src/Controller/ConnectionAddController.php, line 23

Class

ConnectionAddController
Class ConnectionAddController.

Namespace

Drupal\redhen_connection\Controller

Code

public function __construct(EntityStorageInterface $storage, EntityStorageInterface $type_storage) {
  $this->storage = $storage;
  $this->typeStorage = $type_storage;
}