You are here

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

2 methods override ResourceInterface::getDataProvider()
Resource::getDataProvider in src/Plugin/resource/Resource.php
Gets the data provider.
ResourceDecoratorBase::getDataProvider in src/Plugin/resource/Decorators/ResourceDecoratorBase.php
Gets the data provider.

File

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

Class

ResourceInterface
Interface ResourceInterface.

Namespace

Drupal\restful\Plugin\resource

Code

public function getDataProvider();