public function ResourceInterface::getFieldDefinitions in RESTful 7.2
Gets the field definitions.
Return value
ResourceFieldCollectionInterface The field definitions
2 methods override ResourceInterface::getFieldDefinitions()
- Resource::getFieldDefinitions in src/
Plugin/ resource/ Resource.php - Gets the field definitions.
- ResourceDecoratorBase::getFieldDefinitions in src/
Plugin/ resource/ Decorators/ ResourceDecoratorBase.php - Gets the field definitions.
File
- src/
Plugin/ resource/ ResourceInterface.php, line 115 - Contains \Drupal\restful\Plugin\resource\ResourceInterface.
Class
- ResourceInterface
- Interface ResourceInterface.
Namespace
Drupal\restful\Plugin\resourceCode
public function getFieldDefinitions();