You are here

public function CacheDecoratedResource::getFieldDefinitions in RESTful 7.2

Gets the field definitions.

Return value

ResourceFieldCollectionInterface The field definitions

Overrides ResourceDecoratorBase::getFieldDefinitions

File

src/Plugin/resource/Decorators/CacheDecoratedResource.php, line 141
Contains \Drupal\restful\Plugin\resource\Decorators\CacheDecoratedResource

Class

CacheDecoratedResource

Namespace

Drupal\restful\Plugin\resource\Decorators

Code

public function getFieldDefinitions() {
  return $this->subject
    ->getFieldDefinitions();
}