1 entity.class.inc public Entity::save()

Implements EntityInterface::save().

Overrides EntityInterface::save

File

core/modules/entity/entity.class.inc, line 141
Provides an interface and a base class for entities.

Class

Entity
Defines a base entity class.

Code

public function save() {
  return entity_get_controller($this->entityType())->save($this);
}