protected function Resource::processPublicFields in RESTful 7.2
Get the public fields with the default values applied to them.
Parameters
array $field_definitions: The field definitions to process.
Return value
array The field definition array.
1 call to Resource::processPublicFields()
- Resource::__construct in src/
Plugin/ resource/ Resource.php - Constructs a Drupal\Component\Plugin\PluginBase object.
2 methods override Resource::processPublicFields()
- ResourceDbQuery::processPublicFields in src/
Plugin/ resource/ ResourceDbQuery.php - Get the public fields with the default values applied to them.
- ResourceEntity::processPublicFields in src/
Plugin/ resource/ ResourceEntity.php - Get the public fields with the default values applied to them.
File
- src/
Plugin/ resource/ Resource.php, line 612 - Contains \Drupal\restful\Plugin\resource\Resource.
Class
Namespace
Drupal\restful\Plugin\resourceCode
protected function processPublicFields(array $field_definitions) {
// By default do not do any special processing.
return $field_definitions;
}