You are here

public function ResourceFieldResource::setPublicFieldInfo in RESTful 7.2

Gets the public field info object.

Parameters

PublicFieldInfoInterface $public_field_info: The public field info object.

Overrides ResourceFieldInterface::setPublicFieldInfo

File

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

Class

ResourceFieldResource

Namespace

Drupal\restful\Plugin\resource\Field

Code

public function setPublicFieldInfo(PublicFieldInfoInterface $public_field_info) {
  $this->decorated
    ->setPublicFieldInfo($public_field_info);
}