Error message

You are browsing documentation for examples 7.x-1.x, which is not supported anymore. Read the updated version of this page for examples 4.0.x (the latest version).

function EntityExampleBasicControllerInterface::save

Save an entity.

Parameters

object $entity: The entity to save.

1 method overrides EntityExampleBasicControllerInterface::save()
EntityExampleBasicController::save in entity_example/entity_example.module
Saves the custom fields using drupal_write_record().

File

entity_example/entity_example.module, line 519

Class

EntityExampleBasicControllerInterface
EntityExampleBasicControllerInterface definition.

Code

public function save($entity);