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