public function DateRecurOccurrences::__construct in Recurring Dates Field 3.0.x
Same name and namespace in other branches
- 8.2 src/DateRecurOccurrences.php \Drupal\date_recur\DateRecurOccurrences::__construct()
- 3.x src/DateRecurOccurrences.php \Drupal\date_recur\DateRecurOccurrences::__construct()
- 3.1.x src/DateRecurOccurrences.php \Drupal\date_recur\DateRecurOccurrences::__construct()
DateRecurOccurrences constructor.
Parameters
\Drupal\Core\Database\Connection $database: The database connection.
\Drupal\Core\Entity\EntityFieldManagerInterface $entityFieldManager: The entity field manager.
\Drupal\Core\TypedData\TypedDataManagerInterface $typedDataManager: Manages data type plugins.
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.
File
- src/
DateRecurOccurrences.php, line 82
Class
- DateRecurOccurrences
- Manages occurrences tables and the data that populates them.
Namespace
Drupal\date_recurCode
public function __construct(Connection $database, EntityFieldManagerInterface $entityFieldManager, TypedDataManagerInterface $typedDataManager, EntityTypeManagerInterface $entityTypeManager) {
$this->database = $database;
$this->entityTypeManager = $entityTypeManager;
$this->entityFieldManager = $entityFieldManager;
$this->typedDataManager = $typedDataManager;
}