public function DataProvider::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/ DataProvider.php, line 248 - Contains \Drupal\restful\Plugin\resource\DataProvider\DataProvider.
Class
Namespace
Drupal\restful\Plugin\resource\DataProviderCode
public function addOptions(array $options) {
$this->options = array_merge($this->options, $options);
}