You are here

public function ResourceFieldEntity::getDefinition in RESTful 7.2

Gets the original field definition as declared in Resource::publicFields().

Return value

array The field definition.

Overrides ResourceFieldInterface::getDefinition

1 call to ResourceFieldEntity::getDefinition()
ResourceFieldEntity::populatePublicInfoField in src/Plugin/resource/Field/ResourceFieldEntity.php
Populate public info field with Property API information.
3 methods override ResourceFieldEntity::getDefinition()
ResourceFieldEntityFile::getDefinition in src/Plugin/resource/Field/ResourceFieldEntityFile.php
Gets the original field definition as declared in Resource::publicFields().
ResourceFieldEntityReference::getDefinition in src/Plugin/resource/Field/ResourceFieldEntityReference.php
Gets the original field definition as declared in Resource::publicFields().
ResourceFieldEntityText::getDefinition in src/Plugin/resource/Field/ResourceFieldEntityText.php
Gets the original field definition as declared in Resource::publicFields().

File

src/Plugin/resource/Field/ResourceFieldEntity.php, line 638
Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldEntity

Class

ResourceFieldEntity
Class ResourceFieldEntity.

Namespace

Drupal\restful\Plugin\resource\Field

Code

public function getDefinition() {
  return $this->decorated
    ->getDefinition();
}