function EntityTestBundleClass::postDelete

Same name in other branches
  1. 9 core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.php \Drupal\entity_test_bundle_class\Entity\EntityTestBundleClass::postDelete()
  2. 10 core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.php \Drupal\entity_test_bundle_class\Entity\EntityTestBundleClass::postDelete()

Overrides EntityBase::postDelete

File

core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.php, line 86

Class

EntityTestBundleClass
The bundle class for the bundle_class bundle of the entity_test entity.

Namespace

Drupal\entity_test_bundle_class\Entity

Code

public static function postDelete(EntityStorageInterface $storage, array $entities) {
    parent::postDelete($storage, $entities);
    self::$postDeleteCount++;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.