public function UuidLinkEnhancer::getOutputJsonSchema in JSON:API Extras 8.2
Same name and namespace in other branches
- 8.3 src/Plugin/jsonapi/FieldEnhancer/UuidLinkEnhancer.php \Drupal\jsonapi_extras\Plugin\jsonapi\FieldEnhancer\UuidLinkEnhancer::getOutputJsonSchema()
Get the JSON Schema for the new output.
Return value
array An structured array representing the JSON Schema of the new output.
Overrides ResourceFieldEnhancerInterface::getOutputJsonSchema
File
- src/
Plugin/ jsonapi/ FieldEnhancer/ UuidLinkEnhancer.php, line 105
Class
- UuidLinkEnhancer
- Use UUID for internal link field value.
Namespace
Drupal\jsonapi_extras\Plugin\jsonapi\FieldEnhancerCode
public function getOutputJsonSchema() {
return [
'type' => 'object',
];
}