You are here

public function ResourceFieldResource::setMethods in RESTful 7.2

Parameters

array $methods:

Throws

ServerConfigurationException

Overrides ResourceFieldInterface::setMethods

File

src/Plugin/resource/Field/ResourceFieldResource.php, line 299
Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldResource.

Class

ResourceFieldResource

Namespace

Drupal\restful\Plugin\resource\Field

Code

public function setMethods($methods) {
  $this->decorated
    ->setMethods($methods);
}