You are here

public function DataProvider::setOptions in RESTful 7.2

Sets the options.

Parameters

array $options: The options to set.

Overrides DataProviderInterface::setOptions

File

src/Plugin/resource/DataProvider/DataProvider.php, line 241
Contains \Drupal\restful\Plugin\resource\DataProvider\DataProvider.

Class

DataProvider

Namespace

Drupal\restful\Plugin\resource\DataProvider

Code

public function setOptions(array $options) {
  $this->options = $options;
}