You are here

protected function Resource::dataProviderClassName in RESTful 7.2

Data provider class.

Return value

string The name of the class of the provider factory.

1 call to Resource::dataProviderClassName()
Resource::dataProviderFactory in src/Plugin/resource/Resource.php
Data provider factory.
4 methods override Resource::dataProviderClassName()
Discovery::dataProviderClassName in src/Plugin/resource/Discovery.php
Data provider class.
ResourceDbQuery::dataProviderClassName in src/Plugin/resource/ResourceDbQuery.php
Data provider class.
ResourceEntity::dataProviderClassName in src/Plugin/resource/ResourceEntity.php
Data provider class.
Variables__1_0::dataProviderClassName in modules/restful_example/src/Plugin/resource/variables/Variables__1_0.php
Data provider class.

File

src/Plugin/resource/Resource.php, line 111
Contains \Drupal\restful\Plugin\resource\Resource.

Class

Resource

Namespace

Drupal\restful\Plugin\resource

Code

protected function dataProviderClassName() {

  // Fallback to the null data provider, this means that we can only get data
  // from basic callbacks.
  return '\\Drupal\\restful\\Plugin\\resource\\DataProvider\\DataProviderNull';
}