You are here

public function ResourceFieldEntity::setMethods in RESTful 7.2

Parameters

array $methods:

Throws

ServerConfigurationException

Overrides ResourceFieldInterface::setMethods

File

src/Plugin/resource/Field/ResourceFieldEntity.php, line 1039
Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldEntity

Class

ResourceFieldEntity
Class ResourceFieldEntity.

Namespace

Drupal\restful\Plugin\resource\Field

Code

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