public function ServiceResourceInterface::getFormats in Services 9.0.x
Same name and namespace in other branches
- 8.4 src/ServiceResourceInterface.php \Drupal\services\ServiceResourceInterface::getFormats()
Get resource allowed formats.
Return value
array An array of allowed formats.
1 method overrides ServiceResourceInterface::getFormats()
- ServiceResource::getFormats in src/
Entity/ ServiceResource.php - Get resource allowed formats.
File
- src/
ServiceResourceInterface.php, line 18
Class
- ServiceResourceInterface
- Interface \Drupal\services\Entity\ServiceResourceInterface.
Namespace
Drupal\servicesCode
public function getFormats();