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

Implements Backdrop\entity\EntityInterface::setActiveRevision().

Overrides EntityInterface::setIsActiveRevision

File

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

Class

Entity
Defines a base entity class.

Code

public function setIsActiveRevision() {
  $this->is_active_revision = TRUE;
}