public function DataProvider::getMetadata in RESTful 7.2
Returns the metadata collection.
Data providers can add metadata reflecting the data gathering/setting process. This information is made available to formatters via the resource so extra metadata can be added to the output.
Return value
\Doctrine\Common\Collections\ArrayCollection The collection object.
Overrides DataProviderInterface::getMetadata
File
- src/Plugin/ resource/ DataProvider/ DataProvider.php, line 558 
- Contains \Drupal\restful\Plugin\resource\DataProvider\DataProvider.
Class
Namespace
Drupal\restful\Plugin\resource\DataProviderCode
public function getMetadata() {
  return $this->metadata;
}