function ContactMessageResource::availableMethods
Same name in other branches
- 9 core/modules/contact/src/Plugin/rest/resource/ContactMessageResource.php \Drupal\contact\Plugin\rest\resource\ContactMessageResource::availableMethods()
- 10 core/modules/contact/src/Plugin/rest/resource/ContactMessageResource.php \Drupal\contact\Plugin\rest\resource\ContactMessageResource::availableMethods()
- 11.x core/modules/contact/src/Plugin/rest/resource/ContactMessageResource.php \Drupal\contact\Plugin\rest\resource\ContactMessageResource::availableMethods()
Overrides EntityResource::availableMethods
File
-
core/
modules/ contact/ src/ Plugin/ rest/ resource/ ContactMessageResource.php, line 21
Class
- ContactMessageResource
- Customizes the entity REST Resource plugin for Contact's Message entities.
Namespace
Drupal\contact\Plugin\rest\resourceCode
public function availableMethods() {
return [
'POST',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.