You are here

public function ResourceDecoratorBase::getFieldDefinitions in RESTful 7.2

Gets the field definitions.

Return value

ResourceFieldCollectionInterface The field definitions

Overrides ResourceInterface::getFieldDefinitions

1 method overrides ResourceDecoratorBase::getFieldDefinitions()
CacheDecoratedResource::getFieldDefinitions in src/Plugin/resource/Decorators/CacheDecoratedResource.php
Gets the field definitions.

File

src/Plugin/resource/Decorators/ResourceDecoratorBase.php, line 121
Contains \Drupal\restful\Plugin\resource\Decorators\ResourceDecoratorBase.

Class

ResourceDecoratorBase
Class ResourceDecoratorBase.

Namespace

Drupal\restful\Plugin\resource\Decorators

Code

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