You are here

public function ResourceDecoratorBase::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 ResourceInterface::getDataProvider

1 method overrides ResourceDecoratorBase::getDataProvider()
CacheDecoratedResource::getDataProvider in src/Plugin/resource/Decorators/CacheDecoratedResource.php
Gets the data provider.

File

src/Plugin/resource/Decorators/ResourceDecoratorBase.php, line 128
Contains \Drupal\restful\Plugin\resource\Decorators\ResourceDecoratorBase.

Class

ResourceDecoratorBase
Class ResourceDecoratorBase.

Namespace

Drupal\restful\Plugin\resource\Decorators

Code

public function getDataProvider() {
  return $this->subject
    ->getDataProvider();
}