You are here

public function ViewsData::__construct in RedHen CRM 8

Creates a new ViewsData instance.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\redhen_connection\ConnectionServiceInterface $connections: The connection service.

File

modules/redhen_connection/src/ViewsData.php, line 38

Class

ViewsData
Provides the redhen_connection views integration.

Namespace

Drupal\redhen_connection

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, ConnectionServiceInterface $connections) {
  $this->entityTypeManager = $entity_type_manager;
  $this->connections = $connections;
}