function EntityTestBundleClass::preCreate
Same name in other branches
- 9 core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.php \Drupal\entity_test_bundle_class\Entity\EntityTestBundleClass::preCreate()
- 10 core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.php \Drupal\entity_test_bundle_class\Entity\EntityTestBundleClass::preCreate()
Overrides EntityTest::preCreate
File
-
core/
modules/ system/ tests/ modules/ entity_test_bundle_class/ src/ Entity/ EntityTestBundleClass.php, line 60
Class
- EntityTestBundleClass
- The bundle class for the bundle_class bundle of the entity_test entity.
Namespace
Drupal\entity_test_bundle_class\EntityCode
public static function preCreate(EntityStorageInterface $storage, array &$values) {
parent::preCreate($storage, $values);
self::$preCreateCount++;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.