public function ResourceFieldEntityReference::getDefinition in RESTful 7.2
Gets the original field definition as declared in Resource::publicFields().
Return value
array The field definition.
Overrides ResourceFieldEntity::getDefinition
File
- src/
Plugin/ resource/ Field/ ResourceFieldEntityReference.php, line 264 - Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldEntityReference.
Class
- ResourceFieldEntityReference
- Class ResourceFieldEntityReference.
Namespace
Drupal\restful\Plugin\resource\FieldCode
public function getDefinition() {
return $this->decorated
->getDefinition();
}