You are here

public function ContentReportServiceInterface::getReportFlagTypes in Open Social 10.3.x

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_content_report/src/ContentReportServiceInterface.php \Drupal\social_content_report\ContentReportServiceInterface::getReportFlagTypes()
  2. 8.5 modules/social_features/social_content_report/src/ContentReportServiceInterface.php \Drupal\social_content_report\ContentReportServiceInterface::getReportFlagTypes()
  3. 8.6 modules/social_features/social_content_report/src/ContentReportServiceInterface.php \Drupal\social_content_report\ContentReportServiceInterface::getReportFlagTypes()
  4. 8.7 modules/social_features/social_content_report/src/ContentReportServiceInterface.php \Drupal\social_content_report\ContentReportServiceInterface::getReportFlagTypes()
  5. 8.8 modules/social_features/social_content_report/src/ContentReportServiceInterface.php \Drupal\social_content_report\ContentReportServiceInterface::getReportFlagTypes()
  6. 10.0.x modules/social_features/social_content_report/src/ContentReportServiceInterface.php \Drupal\social_content_report\ContentReportServiceInterface::getReportFlagTypes()
  7. 10.1.x modules/social_features/social_content_report/src/ContentReportServiceInterface.php \Drupal\social_content_report\ContentReportServiceInterface::getReportFlagTypes()
  8. 10.2.x modules/social_features/social_content_report/src/ContentReportServiceInterface.php \Drupal\social_content_report\ContentReportServiceInterface::getReportFlagTypes()

Gets all the 'report_' flag types.

This makes it more flexible so when new flags are added, it automatically gets them as well.

Return value

array List of flag type IDs that are used for reporting.

1 method overrides ContentReportServiceInterface::getReportFlagTypes()
ContentReportService::getReportFlagTypes in modules/social_features/social_content_report/src/ContentReportService.php
Gets all the 'report_' flag types.

File

modules/social_features/social_content_report/src/ContentReportServiceInterface.php, line 23

Class

ContentReportServiceInterface
Interface ContentReportServiceInterface.

Namespace

Drupal\social_content_report

Code

public function getReportFlagTypes() : array;