protected property ResourceFieldBase::$methods in RESTful 7.2
The HTTP methods where this field applies.
This replaces the create_or_update_passthrough feature. Defaults to all.
Type: array
File
- src/
Plugin/ resource/ Field/ ResourceFieldBase.php, line 120 - Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldBase.
Class
Namespace
Drupal\restful\Plugin\resource\FieldCode
protected $methods = array(
RequestInterface::METHOD_GET,
RequestInterface::METHOD_HEAD,
RequestInterface::METHOD_POST,
RequestInterface::METHOD_PUT,
RequestInterface::METHOD_PATCH,
RequestInterface::METHOD_OPTIONS,
);