You are here

public function ResourceFieldEntity::getResource in RESTful 7.2

Return value

array

Overrides ResourceFieldInterface::getResource

6 calls to ResourceFieldEntity::getResource()
ResourceFieldEntity::buildResourceMetadataItem in src/Plugin/resource/Field/ResourceFieldEntity.php
Builds a metadata item for a field value.
ResourceFieldEntity::propertyIdentifier in src/Plugin/resource/Field/ResourceFieldEntity.php
Helper function to get the identifier from a property wrapper.
ResourceFieldEntity::singleValue in src/Plugin/resource/Field/ResourceFieldEntity.php
Returns the value for the current single field.
ResourceFieldEntityReference::mergeEntityFromReference in src/Plugin/resource/Field/ResourceFieldEntityReference.php
Helper function; Create an entity from a a sub-resource.
ResourceFieldEntityReference::value in src/Plugin/resource/Field/ResourceFieldEntityReference.php
Gets the value for the field given a data source.

... See full list

File

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

Class

ResourceFieldEntity
Class ResourceFieldEntity.

Namespace

Drupal\restful\Plugin\resource\Field

Code

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