public function ResourceFieldInterface::setMethods in RESTful 7.2
Parameters
array $methods:
Throws
3 methods override ResourceFieldInterface::setMethods()
- ResourceFieldBase::setMethods in src/
Plugin/ resource/ Field/ ResourceFieldBase.php - ResourceFieldEntity::setMethods in src/
Plugin/ resource/ Field/ ResourceFieldEntity.php - ResourceFieldResource::setMethods in src/
Plugin/ resource/ Field/ ResourceFieldResource.php
File
- src/
Plugin/ resource/ Field/ ResourceFieldInterface.php, line 89 - Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldInterface.
Class
Namespace
Drupal\restful\Plugin\resource\FieldCode
public function setMethods($methods);