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

Breadcrumb

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

function RestResourceConfigInterface::getMethods

Retrieves a list of supported HTTP methods.

Return value

string[] A list of supported HTTP methods.

1 method overrides RestResourceConfigInterface::getMethods()
RestResourceConfig::getMethods in core/modules/rest/src/Entity/RestResourceConfig.php
Retrieves a list of supported HTTP methods.

File

core/modules/rest/src/RestResourceConfigInterface.php, line 37

Class

RestResourceConfigInterface
Defines a configuration entity to store enabled REST resources.

Namespace

Drupal\rest

Code

public function getMethods();
RSS feed
Powered by Drupal