public function 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 drupal/core/modules/rest/lib/Drupal/rest/Plugin/ResourceBase.php
Implements ResourceInterface::availableMethods().

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();