protected function EntityTestStorageController::postDelete

Overrides Drupal\Core\Entity\DatabaseStorageController::postDelete().

Overrides DatabaseStorageController::postDelete

File

drupal/core/modules/system/tests/modules/entity_test/lib/Drupal/entity_test/EntityTestStorageController.php, line 125
Definition of Drupal\entity_test\EntityTestStorageController.

Class

EntityTestStorageController
Defines the controller class for the test entity.

Namespace

Drupal\entity_test

Code

protected function postDelete($entities) {
  db_delete('entity_test_property_data')
    ->condition('id', array_keys($entities))
    ->execute();
}