EntityTestBundleClass::$postCreateCount

Same name and namespace 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::postCreateCount
  2. 10 core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.php \Drupal\entity_test_bundle_class\Entity\EntityTestBundleClass::postCreateCount

The number of times static::postCreate() was called.

This does not need to be static, since postCreate() is not static.

Type: int

File

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

Class

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

Namespace

Drupal\entity_test_bundle_class\Entity

Code

public $postCreateCount = 0;

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