public function ResourceInterface::availableMethods in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/rest/src/Plugin/ResourceInterface.php \Drupal\rest\Plugin\ResourceInterface::availableMethods()
Returns the available HTTP request methods on this plugin.
Return value
array The list of supported methods. Example: array('GET', 'POST', 'PATCH').
1 method overrides ResourceInterface::availableMethods()
- ResourceBase::availableMethods in core/
modules/ rest/ src/ Plugin/ ResourceBase.php - Returns the available HTTP request methods on this plugin.
File
- core/
modules/ rest/ src/ Plugin/ ResourceInterface.php, line 52 - Contains \Drupal\rest\Plugin\ResourceInterface.
Class
- ResourceInterface
- Specifies the publicly available methods of a resource plugin.
Namespace
Drupal\rest\PluginCode
public function availableMethods();