You are here

public static function UnsavedIndexConfiguration::postDelete in Search API 8

Acts on deleted entities before the delete hook is invoked.

Used after the entities are deleted but before invoking the delete hook.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object.

\Drupal\Core\Entity\EntityInterface[] $entities: An array of entities.

Overrides EntityInterface::postDelete

File

src/UnsavedIndexConfiguration.php, line 930

Class

UnsavedIndexConfiguration
Represents a configuration of an index that was not yet permanently saved.

Namespace

Drupal\search_api

Code

public static function postDelete(EntityStorageInterface $storage, array $entities) {
  EntityInterface::postDelete($storage, $entities);
}