public function OgUiController::__construct in Organic groups 8
Constructs a OgUiController object.
Parameters
\Drupal\og\GroupTypeManagerInterface $group_manager: The OG group manager.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity type bundle info service.
File
- og_ui/
src/ Controller/ OgUiController.php, line 50
Class
- OgUiController
- The OG UI controller.
Namespace
Drupal\og_ui\ControllerCode
public function __construct(GroupTypeManagerInterface $group_manager, EntityTypeManagerInterface $entity_type_manager, EntityTypeBundleInfoInterface $entity_type_bundle_info) {
$this->groupTypeManager = $group_manager;
$this->entityTypeManager = $entity_type_manager;
$this->entityTypeBundleInfo = $entity_type_bundle_info;
}