You are here

public function ContentEntityStorageInterface::truncate in Multiversion 8

Truncate all related tables to entity type.

This function should be called to avoid calling pre-delete/delete hooks.

1 method overrides ContentEntityStorageInterface::truncate()
NodeStorage::truncate in src/Entity/Storage/Sql/NodeStorage.php
Truncate all related tables to entity type.

File

src/Entity/Storage/ContentEntityStorageInterface.php, line 40

Class

ContentEntityStorageInterface

Namespace

Drupal\multiversion\Entity\Storage

Code

public function truncate();