public function Entity::save

Implements EntityInterface::save().

Overrides EntityInterface::save

5 calls to Entity::save()
3 methods override Entity::save()

File

drupal/core/lib/Drupal/Core/Entity/Entity.php, line 321
Definition of Drupal\Core\Entity\Entity.

Class

Entity
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

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