You are here

public function Resource::getFieldDefinitions in RESTful 7.2

Gets the field definitions.

Return value

ResourceFieldCollectionInterface The field definitions

Overrides ResourceInterface::getFieldDefinitions

2 calls to Resource::getFieldDefinitions()
Resource::dataProviderFactory in src/Plugin/resource/Resource.php
Data provider factory.
ResourceEntity::dataProviderFactory in src/Plugin/resource/ResourceEntity.php
Data provider factory.

File

src/Plugin/resource/Resource.php, line 184
Contains \Drupal\restful\Plugin\resource\Resource.

Class

Resource

Namespace

Drupal\restful\Plugin\resource

Code

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