public function OrganizerActivityContext::__construct in Open Social 8.7
Same name and namespace in other branches
- 8.9 modules/custom/activity_basics/src/Plugin/ActivityContext/OrganizerActivityContext.php \Drupal\activity_basics\Plugin\ActivityContext\OrganizerActivityContext::__construct()
- 8.8 modules/custom/activity_basics/src/Plugin/ActivityContext/OrganizerActivityContext.php \Drupal\activity_basics\Plugin\ActivityContext\OrganizerActivityContext::__construct()
- 10.3.x modules/custom/activity_basics/src/Plugin/ActivityContext/OrganizerActivityContext.php \Drupal\activity_basics\Plugin\ActivityContext\OrganizerActivityContext::__construct()
- 10.0.x modules/custom/activity_basics/src/Plugin/ActivityContext/OrganizerActivityContext.php \Drupal\activity_basics\Plugin\ActivityContext\OrganizerActivityContext::__construct()
- 10.1.x modules/custom/activity_basics/src/Plugin/ActivityContext/OrganizerActivityContext.php \Drupal\activity_basics\Plugin\ActivityContext\OrganizerActivityContext::__construct()
- 10.2.x modules/custom/activity_basics/src/Plugin/ActivityContext/OrganizerActivityContext.php \Drupal\activity_basics\Plugin\ActivityContext\OrganizerActivityContext::__construct()
Constructs a OrganizerActivityContext object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\Core\Entity\Query\Sql\QueryFactory $entity_query: The query factory.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
Overrides ActivityContextBase::__construct
File
- modules/
custom/ activity_basics/ src/ Plugin/ ActivityContext/ OrganizerActivityContext.php, line 45
Class
- OrganizerActivityContext
- Provides a 'OrganizerActivityContext' activity context.
Namespace
Drupal\activity_basics\Plugin\ActivityContextCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, QueryFactory $entity_query, EntityTypeManagerInterface $entity_type_manager, ModuleHandlerInterface $module_handler) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $entity_query, $entity_type_manager);
$this->moduleHandler = $module_handler;
}