Search for preCreate

  1. Search 7.x for preCreate
  2. Search 9.5.x for preCreate
  3. Search 8.9.x for preCreate
  4. Search 10.3.x for preCreate
  5. Other projects
Title Object type File name Summary
Comment::preCreate function core/modules/comment/src/Entity/Comment.php Changes the values of an entity before it is created.
EntityBase::preCreate function core/lib/Drupal/Core/Entity/EntityBase.php Changes the values of an entity before it is created.
EntityInterface::preCreate function core/lib/Drupal/Core/Entity/EntityInterface.php Changes the values of an entity before it is created.
EntityTest::preCreate function core/modules/system/tests/modules/entity_test/src/Entity/EntityTest.php Changes the values of an entity before it is created.
EntityTestBundleClass::$preCreateCount property core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.php The number of times static::preCreate() was called.
EntityTestBundleClass::preCreate function core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.php Changes the values of an entity before it is created.
EntityTestUpdate::preCreate function core/modules/system/tests/modules/entity_test_update/src/Entity/EntityTestUpdate.php Changes the values of an entity before it is created.
EntityUnitTest::testPreCreate function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::preCreate
File::preCreate function core/modules/file/src/Entity/File.php Changes the values of an entity before it is created.
MenuLinkContent::preCreate function core/modules/menu_link_content/src/Entity/MenuLinkContent.php Changes the values of an entity before it is created.
View::preCreate function core/modules/views/src/Entity/View.php Changes the values of an entity before it is created.
ViewUI::preCreate function core/modules/views_ui/src/ViewUI.php Changes the values of an entity before it is created.

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