public function ServiceResourceInterface::getFormats in Services 8.4
Same name and namespace in other branches
- 9.0.x 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();