Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ResourceInterface.php

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 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 51

Class

ResourceInterface
Specifies the publicly available methods of a resource plugin.

Namespace

Drupal\rest\Plugin

Code

public function availableMethods();

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal