public function DataProviderDecorator::create in RESTful 7.2
Create operation.
Parameters
mixed $object: The thing to be created.
Return value
array An array of structured data for the thing that was created.
Overrides CrudInterface::create
File
- src/
Plugin/ resource/ DataProvider/ DataProviderDecorator.php, line 154 - Contains \Drupal\restful\Plugin\resource\DataProvider\DataProviderDecorator.
Class
Namespace
Drupal\restful\Plugin\resource\DataProviderCode
public function create($object) {
return $this->decorated
->create($object);
}