Drupal 8  8.0.2
ResponseGeneratorSubscriber Class Reference
Inheritance diagram for ResponseGeneratorSubscriber:

Public Member Functions

 onRespond (FilterResponseEvent $event)

Static Public Member Functions

static getSubscribedEvents ()

Detailed Description

Response subscriber to add X-Generator header tag.

Member Function Documentation

static getSubscribedEvents ( )


onRespond ( FilterResponseEvent  $event)

Sets extra X-Generator header on successful responses.

\Symfony\Component\HttpKernel\Event\FilterResponseEvent$eventThe event to process.

References Drupal\VERSION.

The documentation for this class was generated from the following file: