You are here

public function SqlContentEntityStorage::setTemporary in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php \Drupal\Core\Entity\Sql\SqlContentEntityStorage::setTemporary()

Changes the temporary state of the storage.

@internal Only to be used internally by Entity API.

Parameters

bool $temporary: Whether to use a temporary table mapping or not.

File

core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 338

Class

SqlContentEntityStorage
A content entity database storage implementation.

Namespace

Drupal\Core\Entity\Sql

Code

public function setTemporary($temporary) {
  $this->temporary = $temporary;
}