You are here

public function DataProviderInterface::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.

3 methods override DataProviderInterface::addOptions()
CacheDecoratedDataProvider::addOptions in src/Plugin/resource/DataProvider/CacheDecoratedDataProvider.php
Adds the options in the provided array to the data provider options.
DataProvider::addOptions in src/Plugin/resource/DataProvider/DataProvider.php
Adds the options in the provided array to the data provider options.
DataProviderDecorator::addOptions in src/Plugin/resource/DataProvider/DataProviderDecorator.php
Adds the options in the provided array to the data provider options.

File

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

Class

DataProviderInterface

Namespace

Drupal\restful\Plugin\resource\DataProvider

Code

public function addOptions(array $options);