You are here

public function DataProviderDecorator::canonicalPath in RESTful 7.2

Generates the canonical path for a given path.

Parameters

string $path: The aliased path.

Return value

string The canonical path.

Overrides DataProviderInterface::canonicalPath

File

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

Class

DataProviderDecorator

Namespace

Drupal\restful\Plugin\resource\DataProvider

Code

public function canonicalPath($path) {
  return $this->decorated
    ->canonicalPath($path);
}