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