You are here

public function DataProviderDecorator::addOptions in RESTful 7.2

Adds the options in the provided array to the data provider options.

Parameters

array $options: The array of options for the data provider.

Overrides DataProviderInterface::addOptions

File

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

Class

DataProviderDecorator

Namespace

Drupal\restful\Plugin\resource\DataProvider

Code

public function addOptions(array $options) {
  $this->decorated
    ->addOptions($options);
}