public function ContentReportServiceInterface::getReportFlagTypes in Open Social 8.9
Same name and namespace in other branches
- 8.5 modules/social_features/social_content_report/src/ContentReportServiceInterface.php \Drupal\social_content_report\ContentReportServiceInterface::getReportFlagTypes()
- 8.6 modules/social_features/social_content_report/src/ContentReportServiceInterface.php \Drupal\social_content_report\ContentReportServiceInterface::getReportFlagTypes()
- 8.7 modules/social_features/social_content_report/src/ContentReportServiceInterface.php \Drupal\social_content_report\ContentReportServiceInterface::getReportFlagTypes()
- 8.8 modules/social_features/social_content_report/src/ContentReportServiceInterface.php \Drupal\social_content_report\ContentReportServiceInterface::getReportFlagTypes()
- 10.3.x modules/social_features/social_content_report/src/ContentReportServiceInterface.php \Drupal\social_content_report\ContentReportServiceInterface::getReportFlagTypes()
- 10.0.x modules/social_features/social_content_report/src/ContentReportServiceInterface.php \Drupal\social_content_report\ContentReportServiceInterface::getReportFlagTypes()
- 10.1.x modules/social_features/social_content_report/src/ContentReportServiceInterface.php \Drupal\social_content_report\ContentReportServiceInterface::getReportFlagTypes()
- 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_reportCode
public function getReportFlagTypes() : array;