You are here

public function EntityAPIControllerInterface::create in Entity API 7

Create a new entity.

Parameters

array $values: An array of values to set, keyed by property name.

Return value

object A new instance of the entity type.

1 method overrides EntityAPIControllerInterface::create()
EntityAPIController::create in includes/entity.controller.inc
Implements EntityAPIControllerInterface.

File

includes/entity.controller.inc, line 53
Provides a controller building upon the core controller but providing more features like full CRUD functionality.

Class

EntityAPIControllerInterface
Interface for EntityControllers compatible with the entity API.

Code

public function create(array $values = array());