You are here

public function CrudInterface::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.

8 methods override CrudInterface::create()
CacheDecoratedDataProvider::create in src/Plugin/resource/DataProvider/CacheDecoratedDataProvider.php
Create operation.
DataProviderDbQuery::create in src/Plugin/resource/DataProvider/DataProviderDbQuery.php
Create operation.
DataProviderDecorator::create in src/Plugin/resource/DataProvider/DataProviderDecorator.php
Create operation.
DataProviderEntity::create in src/Plugin/resource/DataProvider/DataProviderEntity.php
Create operation.
DataProviderNull::create in src/Plugin/resource/DataProvider/DataProviderNull.php
Create operation.

... See full list

File

src/Plugin/resource/CrudInterface.php, line 37
Contains \Drupal\restful\Resource\CrudInterface.

Class

CrudInterface

Namespace

Drupal\restful\Plugin\resource

Code

public function create($object);