public function OgGroupAudienceHelper::__construct in Organic groups 8
Constructs an OgGroupAudienceHelper object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity field manager.
File
- src/
OgGroupAudienceHelper.php, line 39
Class
- OgGroupAudienceHelper
- OG audience field helper methods.
Namespace
Drupal\ogCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, EntityFieldManagerInterface $entity_field_manager) {
$this->entityTypeManager = $entity_type_manager;
$this->entityFieldManager = $entity_field_manager;
}