public function ResourceFieldEntity::setResource in RESTful 7.2
Parameters
array $resource:
Overrides ResourceFieldInterface::setResource
1 call to ResourceFieldEntity::setResource()
- ResourceFieldEntity::addDefaults in src/
Plugin/ resource/ Field/ ResourceFieldEntity.php - Almost all the defaults come are applied by the object's property defaults.
File
- src/
Plugin/ resource/ Field/ ResourceFieldEntity.php, line 1025 - Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldEntity
Class
- ResourceFieldEntity
- Class ResourceFieldEntity.
Namespace
Drupal\restful\Plugin\resource\FieldCode
public function setResource($resource) {
$this->decorated
->setResource($resource);
}