public function FlagAccessCheck::__construct in Open Social 10.2.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_content_report/src/Access/FlagAccessCheck.php \Drupal\social_content_report\Access\FlagAccessCheck::__construct()
- 8.5 modules/social_features/social_content_report/src/Access/FlagAccessCheck.php \Drupal\social_content_report\Access\FlagAccessCheck::__construct()
- 8.6 modules/social_features/social_content_report/src/Access/FlagAccessCheck.php \Drupal\social_content_report\Access\FlagAccessCheck::__construct()
- 8.7 modules/social_features/social_content_report/src/Access/FlagAccessCheck.php \Drupal\social_content_report\Access\FlagAccessCheck::__construct()
- 8.8 modules/social_features/social_content_report/src/Access/FlagAccessCheck.php \Drupal\social_content_report\Access\FlagAccessCheck::__construct()
- 10.3.x modules/social_features/social_content_report/src/Access/FlagAccessCheck.php \Drupal\social_content_report\Access\FlagAccessCheck::__construct()
- 10.0.x modules/social_features/social_content_report/src/Access/FlagAccessCheck.php \Drupal\social_content_report\Access\FlagAccessCheck::__construct()
- 10.1.x modules/social_features/social_content_report/src/Access/FlagAccessCheck.php \Drupal\social_content_report\Access\FlagAccessCheck::__construct()
FlagAccessCheck constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\social_content_report\ContentReportServiceInterface $social_content_report: The content report service.
File
- modules/
social_features/ social_content_report/ src/ Access/ FlagAccessCheck.php, line 41
Class
- FlagAccessCheck
- Class FlagAccessCheck.
Namespace
Drupal\social_content_report\AccessCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, ContentReportServiceInterface $social_content_report) {
$this->entityTypeManager = $entity_type_manager;
$this->socialContentReport = $social_content_report;
}