6 methods override EntityBase::preCreate()
- Comment::preCreate in core/
modules/ comment/ src/ Entity/ Comment.php - Changes the values of an entity before it is created.
- EntityTest::preCreate in core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTest.php - Changes the values of an entity before it is created.
- EntityTestUpdate::preCreate in core/
modules/ system/ tests/ modules/ entity_test_update/ src/ Entity/ EntityTestUpdate.php - Changes the values of an entity before it is created.
- File::preCreate in core/
modules/ file/ src/ Entity/ File.php - Changes the values of an entity before it is created.
- MenuLinkContent::preCreate in core/
modules/ menu_link_content/ src/ Entity/ MenuLinkContent.php - Changes the values of an entity before it is created.
- View::preCreate in core/
modules/ views/ src/ Entity/ View.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.