public function DateRecurViewsHooks::__construct in Recurring Dates Field 3.0.x
Same name and namespace in other branches
- 8.2 src/DateRecurViewsHooks.php \Drupal\date_recur\DateRecurViewsHooks::__construct()
- 3.x src/DateRecurViewsHooks.php \Drupal\date_recur\DateRecurViewsHooks::__construct()
- 3.1.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_recurCode
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;
}