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);