public function ResourceFieldInterface::getDefinition in RESTful 7.2
Gets the original field definition as declared in Resource::publicFields().
Return value
array The field definition.
3 methods override ResourceFieldInterface::getDefinition()
- ResourceFieldBase::getDefinition in src/
Plugin/ resource/ Field/ ResourceFieldBase.php - Gets the original field definition as declared in Resource::publicFields().
- ResourceFieldEntity::getDefinition in src/
Plugin/ resource/ Field/ ResourceFieldEntity.php - Gets the original field definition as declared in Resource::publicFields().
- ResourceFieldResource::getDefinition in src/
Plugin/ resource/ Field/ ResourceFieldResource.php - Gets the original field definition as declared in Resource::publicFields().
File
- src/
Plugin/ resource/ Field/ ResourceFieldInterface.php, line 283 - Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldInterface.
Class
Namespace
Drupal\restful\Plugin\resource\FieldCode
public function getDefinition();