You are here

public function ResourceFieldBase::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/ResourceFieldBase.php, line 391
Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldBase.

Class

ResourceFieldBase

Namespace

Drupal\restful\Plugin\resource\Field

Code

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