You are here

public function ResourceFieldResource::getDefinition in RESTful 7.2

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

Return value

array The field definition.

Overrides ResourceFieldInterface::getDefinition

File

src/Plugin/resource/Field/ResourceFieldResource.php, line 355
Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldResource.

Class

ResourceFieldResource

Namespace

Drupal\restful\Plugin\resource\Field

Code

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