You are here

public function DateRecurViewsHooks::__construct in Recurring Dates Field 3.1.x

Same name and namespace in other branches
  1. 8.2 src/DateRecurViewsHooks.php \Drupal\date_recur\DateRecurViewsHooks::__construct()
  2. 3.x src/DateRecurViewsHooks.php \Drupal\date_recur\DateRecurViewsHooks::__construct()
  3. 3.0.x src/DateRecurViewsHooks.php \Drupal\date_recur\DateRecurViewsHooks::__construct()

DateRecurViewsHooks constructor.

Parameters

\Drupal\Core\Database\Connection $connection: The active database connection.

\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: Module handler.

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: Entity type manager.

\Drupal\Core\Entity\EntityFieldManagerInterface $entityFieldManager: The entity field manager.

\Drupal\Core\TypedData\TypedDataManagerInterface $typedDataManager: The typed data manager.

File

src/DateRecurViewsHooks.php, line 81

Class

DateRecurViewsHooks
Defines Views hooks.

Namespace

Drupal\date_recur

Code

public function __construct(Connection $connection, ModuleHandlerInterface $moduleHandler, EntityTypeManagerInterface $entityTypeManager, EntityFieldManagerInterface $entityFieldManager, TypedDataManagerInterface $typedDataManager) {
  $this->database = $connection;
  $this->moduleHandler = $moduleHandler;
  $this->entityTypeManager = $entityTypeManager;
  $this->entityFieldManager = $entityFieldManager;
  $this->typedDataManager = $typedDataManager;
}