public function ActivityLoggerFactory::__construct in Open Social 10.1.x
Same name and namespace in other branches
- 10.3.x modules/custom/activity_logger/src/Service/ActivityLoggerFactory.php \Drupal\activity_logger\Service\ActivityLoggerFactory::__construct()
- 10.0.x modules/custom/activity_logger/src/Service/ActivityLoggerFactory.php \Drupal\activity_logger\Service\ActivityLoggerFactory::__construct()
- 10.2.x modules/custom/activity_logger/src/Service/ActivityLoggerFactory.php \Drupal\activity_logger\Service\ActivityLoggerFactory::__construct()
ActivityLoggerFactory constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.
\Drupal\activity_creator\Plugin\ActivityEntityConditionManager $activityEntityConditionManager: The condition manager.
\Drupal\activity_creator\Plugin\ActivityContextManager $activityContextManager: The context manager.
\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: The module handler.
File
- modules/
custom/ activity_logger/ src/ Service/ ActivityLoggerFactory.php, line 61
Class
- ActivityLoggerFactory
- Class ActivityLoggerFactory.
Namespace
Drupal\activity_logger\ServiceCode
public function __construct(EntityTypeManagerInterface $entityTypeManager, ActivityEntityConditionManager $activityEntityConditionManager, ActivityContextManager $activityContextManager, ModuleHandlerInterface $moduleHandler) {
$this->entityTypeManager = $entityTypeManager;
$this->activityEntityConditionManager = $activityEntityConditionManager;
$this->activityContextManager = $activityContextManager;
$this->moduleHandler = $moduleHandler;
}