You are here

public function ResourceFieldEntity::setPublicFieldInfo in RESTful 7.2

Gets the public field info object.

Parameters

PublicFieldInfoInterface $public_field_info: The public field info object.

Overrides ResourceFieldInterface::setPublicFieldInfo

1 call to ResourceFieldEntity::setPublicFieldInfo()
ResourceFieldEntity::populatePublicInfoField in src/Plugin/resource/Field/ResourceFieldEntity.php
Populate public info field with Property API information.

File

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

Class

ResourceFieldEntity
Class ResourceFieldEntity.

Namespace

Drupal\restful\Plugin\resource\Field

Code

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