public function ResourceInterface::index in RESTful 7.2
Basic implementation for listing.
Parameters
string $path: The resource path.
Return value
array An array of structured data for the things being viewed.
2 methods override ResourceInterface::index()
- Resource::index in src/
Plugin/ resource/ Resource.php - Basic implementation for listing.
- ResourceDecoratorBase::index in src/
Plugin/ resource/ Decorators/ ResourceDecoratorBase.php - Basic implementation for listing.
File
- src/
Plugin/ resource/ ResourceInterface.php, line 211 - Contains \Drupal\restful\Plugin\resource\ResourceInterface.
Class
- ResourceInterface
- Interface ResourceInterface.
Namespace
Drupal\restful\Plugin\resourceCode
public function index($path);