You are here

public function CacheDecoratedDataProvider::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/CacheDecoratedDataProvider.php, line 139
Contains \Drupal\restful\Plugin\resource\DataProvider\CacheDecoratedDataProvider.

Class

CacheDecoratedDataProvider
Class CacheDecoratedDataProvider.

Namespace

Drupal\restful\Plugin\resource\DataProvider

Code

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