You are here

public function ResourceInterface::view in RESTful 7.2

Basic implementation for view.

Parameters

string $path: The resource path.

Return value

array An array of structured data for the things being viewed.

2 methods override ResourceInterface::view()
Resource::view in src/Plugin/resource/Resource.php
Basic implementation for view.
ResourceDecoratorBase::view in src/Plugin/resource/Decorators/ResourceDecoratorBase.php
Basic implementation for view.

File

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

Class

ResourceInterface
Interface ResourceInterface.

Namespace

Drupal\restful\Plugin\resource

Code

public function view($path);