You are here

protected function SocialGroupSecretSubscriber::getHandledFormats in Open Social 8.9

Same name and namespace in other branches
  1. 8.6 modules/social_features/social_group/modules/social_group_secret/src/EventSubscriber/SocialGroupSecretSubscriber.php \Drupal\social_group_secret\EventSubscriber\SocialGroupSecretSubscriber::getHandledFormats()
  2. 8.7 modules/social_features/social_group/modules/social_group_secret/src/EventSubscriber/SocialGroupSecretSubscriber.php \Drupal\social_group_secret\EventSubscriber\SocialGroupSecretSubscriber::getHandledFormats()
  3. 8.8 modules/social_features/social_group/modules/social_group_secret/src/EventSubscriber/SocialGroupSecretSubscriber.php \Drupal\social_group_secret\EventSubscriber\SocialGroupSecretSubscriber::getHandledFormats()
  4. 10.3.x modules/social_features/social_group/modules/social_group_secret/src/EventSubscriber/SocialGroupSecretSubscriber.php \Drupal\social_group_secret\EventSubscriber\SocialGroupSecretSubscriber::getHandledFormats()
  5. 10.0.x modules/social_features/social_group/modules/social_group_secret/src/EventSubscriber/SocialGroupSecretSubscriber.php \Drupal\social_group_secret\EventSubscriber\SocialGroupSecretSubscriber::getHandledFormats()
  6. 10.1.x modules/social_features/social_group/modules/social_group_secret/src/EventSubscriber/SocialGroupSecretSubscriber.php \Drupal\social_group_secret\EventSubscriber\SocialGroupSecretSubscriber::getHandledFormats()
  7. 10.2.x modules/social_features/social_group/modules/social_group_secret/src/EventSubscriber/SocialGroupSecretSubscriber.php \Drupal\social_group_secret\EventSubscriber\SocialGroupSecretSubscriber::getHandledFormats()

Specifies the request formats this subscriber will respond to.

Return value

array An indexed array of the format machine names that this subscriber will attempt to process, such as "html" or "json". Returning an empty array will apply to all formats.

Overrides HttpExceptionSubscriberBase::getHandledFormats

See also

\Symfony\Component\HttpFoundation\Request

File

modules/social_features/social_group/modules/social_group_secret/src/EventSubscriber/SocialGroupSecretSubscriber.php, line 38

Class

SocialGroupSecretSubscriber
Class SocialGroupSecretSubscriber.

Namespace

Drupal\social_group_secret\EventSubscriber

Code

protected function getHandledFormats() {
  return [
    'html',
  ];
}