public function Resource::getFieldDefinitions in RESTful 7.2
Gets the field definitions.
Return value
ResourceFieldCollectionInterface The field definitions
Overrides ResourceInterface::getFieldDefinitions
2 calls to Resource::getFieldDefinitions()
- Resource::dataProviderFactory in src/
Plugin/ resource/ Resource.php - Data provider factory.
- ResourceEntity::dataProviderFactory in src/
Plugin/ resource/ ResourceEntity.php - Data provider factory.
File
- src/
Plugin/ resource/ Resource.php, line 184 - Contains \Drupal\restful\Plugin\resource\Resource.
Class
Namespace
Drupal\restful\Plugin\resourceCode
public function getFieldDefinitions() {
return $this->fieldDefinitions;
}