public function CacheDecoratedResource::getDataProvider in RESTful 7.2
Gets the data provider.
Return value
\Drupal\restful\Plugin\resource\DataProvider\DataProviderInterface The data provider to access the backend storage.
Overrides ResourceDecoratorBase::getDataProvider
1 call to CacheDecoratedResource::getDataProvider()
- CacheDecoratedResource::hasSimpleInvalidation in src/
Plugin/ resource/ Decorators/ CacheDecoratedResource.php - Checks if simple invalidation is enabled for this resource.
File
- src/
Plugin/ resource/ Decorators/ CacheDecoratedResource.php, line 148 - Contains \Drupal\restful\Plugin\resource\Decorators\CacheDecoratedResource
Class
Namespace
Drupal\restful\Plugin\resource\DecoratorsCode
public function getDataProvider() {
if (isset($this->dataProvider)) {
return $this->dataProvider;
}
$this->dataProvider = $this
->dataProviderFactory();
return $this->dataProvider;
}