public function CacheDecoratedResource::setDataProvider in RESTful 7.2
Sets the data provider.
Parameters
DataProviderInterface $data_provider: The data provider to set.
Overrides ResourceDecoratorBase::setDataProvider
File
- src/
Plugin/ resource/ Decorators/ CacheDecoratedResource.php, line 159 - Contains \Drupal\restful\Plugin\resource\Decorators\CacheDecoratedResource
Class
Namespace
Drupal\restful\Plugin\resource\DecoratorsCode
public function setDataProvider(DataProviderInterface $data_provider = NULL) {
$this->dataProvider = $data_provider;
}