public function GDPRCollector::__construct in General Data Protection Regulation 8.2
Same name and namespace in other branches
- 8 modules/gdpr_fields/src/GDPRCollector.php \Drupal\gdpr_fields\GDPRCollector::__construct()
- 3.0.x modules/gdpr_fields/src/GDPRCollector.php \Drupal\gdpr_fields\GDPRCollector::__construct()
Constructs a GDPRCollector object.
Parameters
\Drupal\Core\Entity\EntityTypeManager $entityTypeManager: The entity type manager.
\Drupal\Core\Entity\EntityFieldManagerInterface $entityFieldManager: The entity field manager.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $bundleInfo: Bundle info.
File
- modules/
gdpr_fields/ src/ GDPRCollector.php, line 51
Class
- GDPRCollector
- Defines a helper class for stuff related to views data.
Namespace
Drupal\gdpr_fieldsCode
public function __construct(EntityTypeManager $entityTypeManager, EntityFieldManagerInterface $entityFieldManager, EntityTypeBundleInfoInterface $bundleInfo) {
$this->entityTypeManager = $entityTypeManager;
$this->entityFieldManager = $entityFieldManager;
$this->bundleInfo = $bundleInfo;
}