You are here

public function ResourceFieldEntity::setProperty in RESTful 7.2

Parameters

string $property:

Overrides ResourceFieldInterface::setProperty

1 call to ResourceFieldEntity::setProperty()
ResourceFieldEntity::propertyOnEntity in src/Plugin/resource/Field/ResourceFieldEntity.php
Sets the resource field property to the schema field in the entity.

File

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

Class

ResourceFieldEntity
Class ResourceFieldEntity.

Namespace

Drupal\restful\Plugin\resource\Field

Code

public function setProperty($property) {
  $this->property = $property;
  $this->decorated
    ->setProperty($property);
}