You are here

public function ResourceFieldResource::setResource in RESTful 7.2

Parameters

array $resource:

Overrides ResourceFieldInterface::setResource

File

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

Class

ResourceFieldResource

Namespace

Drupal\restful\Plugin\resource\Field

Code

public function setResource($resource) {
  $this->decorated
    ->setResource($resource);
}