ResourceObject::$language

Same name in other branches
  1. 10 core/modules/jsonapi/src/JsonApiResource/ResourceObject.php \Drupal\jsonapi\JsonApiResource\ResourceObject::language
  2. 11.x core/modules/jsonapi/src/JsonApiResource/ResourceObject.php \Drupal\jsonapi\JsonApiResource\ResourceObject::language

The resource language.

Type: \Drupal\Core\Language\LanguageInterface

File

core/modules/jsonapi/src/JsonApiResource/ResourceObject.php, line 70

Class

ResourceObject
Represents a JSON:API resource object.

Namespace

Drupal\jsonapi\JsonApiResource

Code

protected $language;

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