public function RestfulDataProviderCToolsPlugins::index in RESTful 7
Get a list of entities.
Return value
array Array of entities, as passed to RestfulEntityBase::viewEntity().
Throws
Overrides RestfulBase::index
File
- plugins/
restful/ RestfulDataProviderCToolsPlugins.php, line 235 - Contains \RestfulDataProviderCToolsPlugins
Class
Code
public function index() {
$return = array();
foreach (array_keys($this
->getPluginsSortedAndFiltered()) as $plugin_name) {
$return[] = $this
->view($plugin_name);
}
return $return;
}