ResourceType::$fields

The list of fields on the underlying entity type + bundle.

Type: string[]

File

core/modules/jsonapi/src/ResourceType/ResourceType.php, line 89

Class

ResourceType
Value object containing all metadata for a JSON:API resource type.

Namespace

Drupal\jsonapi\ResourceType

Code

protected $fields;

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