You are here

public function FlagAccessCheck::__construct in Open Social 8.9

Same name and namespace in other branches
  1. 8.5 modules/social_features/social_content_report/src/Access/FlagAccessCheck.php \Drupal\social_content_report\Access\FlagAccessCheck::__construct()
  2. 8.6 modules/social_features/social_content_report/src/Access/FlagAccessCheck.php \Drupal\social_content_report\Access\FlagAccessCheck::__construct()
  3. 8.7 modules/social_features/social_content_report/src/Access/FlagAccessCheck.php \Drupal\social_content_report\Access\FlagAccessCheck::__construct()
  4. 8.8 modules/social_features/social_content_report/src/Access/FlagAccessCheck.php \Drupal\social_content_report\Access\FlagAccessCheck::__construct()
  5. 10.3.x modules/social_features/social_content_report/src/Access/FlagAccessCheck.php \Drupal\social_content_report\Access\FlagAccessCheck::__construct()
  6. 10.0.x modules/social_features/social_content_report/src/Access/FlagAccessCheck.php \Drupal\social_content_report\Access\FlagAccessCheck::__construct()
  7. 10.1.x modules/social_features/social_content_report/src/Access/FlagAccessCheck.php \Drupal\social_content_report\Access\FlagAccessCheck::__construct()
  8. 10.2.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\Access

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, ContentReportServiceInterface $social_content_report) {
  $this->entityTypeManager = $entity_type_manager;
  $this->socialContentReport = $social_content_report;
}