UserRouteAlterSubscriber::$serializerFormats

Same name in other branches
  1. 9 core/modules/serialization/src/EventSubscriber/UserRouteAlterSubscriber.php \Drupal\serialization\EventSubscriber\UserRouteAlterSubscriber::serializerFormats
  2. 10 core/modules/serialization/src/EventSubscriber/UserRouteAlterSubscriber.php \Drupal\serialization\EventSubscriber\UserRouteAlterSubscriber::serializerFormats
  3. 11.x core/modules/serialization/src/EventSubscriber/UserRouteAlterSubscriber.php \Drupal\serialization\EventSubscriber\UserRouteAlterSubscriber::serializerFormats

The available serialization formats.

Type: array

File

core/modules/serialization/src/EventSubscriber/UserRouteAlterSubscriber.php, line 19

Class

UserRouteAlterSubscriber
Alters user authentication routes to support additional serialization formats.

Namespace

Drupal\serialization\EventSubscriber

Code

protected $serializerFormats = [];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.