You are here

public function DataProvider::setResourcePath in RESTful 7.2

Set the resource path.

Parameters

string $resource_path: The resource path.

Overrides DataProviderInterface::setResourcePath

1 call to DataProvider::setResourcePath()
DataProviderEntity::__construct in src/Plugin/resource/DataProvider/DataProviderEntity.php
Constructor.

File

src/Plugin/resource/DataProvider/DataProvider.php, line 537
Contains \Drupal\restful\Plugin\resource\DataProvider\DataProvider.

Class

DataProvider

Namespace

Drupal\restful\Plugin\resource\DataProvider

Code

public function setResourcePath($resource_path) {
  $this->resourcePath = $resource_path;
}