You are here

public function EntityAPIControllerInterface::import in Entity API 7

Imports an entity from a string.

Parameters

string $export: An exported entity as serialized string.

Return value

object An entity object not yet saved.

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

File

includes/entity.controller.inc, line 79
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 import($export);