You are here

public function ResourceFieldEntity::decorate in RESTful 7.2

Decorate the object.

Parameters

ResourceFieldInterface $decorated: The decorated subject.

Overrides ResourceFieldEntityInterface::decorate

File

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

Class

ResourceFieldEntity
Class ResourceFieldEntity.

Namespace

Drupal\restful\Plugin\resource\Field

Code

public function decorate(ResourceFieldInterface $decorated) {
  $this->decorated = $decorated;
}