You are here

protected property ResourceBase::$serializerFormats in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/rest/src/Plugin/ResourceBase.php \Drupal\rest\Plugin\ResourceBase::serializerFormats

The available serialization formats.

Type: array

File

core/modules/rest/src/Plugin/ResourceBase.php, line 34

Class

ResourceBase
Common base class for resource plugins.

Namespace

Drupal\rest\Plugin

Code

protected $serializerFormats = [];