Returns the available HTTP request methods on this plugin.
Return value
array
The list of supported methods. Example: array('GET', 'POST', 'PATCH').
File
- drupal/core/modules/rest/lib/Drupal/rest/Plugin/ResourceInterface.php, line 45
- Contains \Drupal\rest\Plugin\ResourceInterface.
Class
- ResourceInterface
- Specifies the publicly available methods of a resource plugin.
Namespace
Drupal\rest\Plugin
Code
public function availableMethods();