function RestResourceConfigInterface::getMethods
Same name in other branches
- 9 core/modules/rest/src/RestResourceConfigInterface.php \Drupal\rest\RestResourceConfigInterface::getMethods()
- 10 core/modules/rest/src/RestResourceConfigInterface.php \Drupal\rest\RestResourceConfigInterface::getMethods()
- 11.x core/modules/rest/src/RestResourceConfigInterface.php \Drupal\rest\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\restCode
public function getMethods();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.