You are here

public static function EntityBase::preCreate in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::preCreate()
  2. 9 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::preCreate()
1 call to EntityBase::preCreate()
View::preCreate in core/modules/views/src/Entity/View.php
Changes the values of an entity before it is created.
5 methods override EntityBase::preCreate()
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.

File

core/lib/Drupal/Core/Entity/EntityBase.php, line 398

Class

EntityBase
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

public static function preCreate(EntityStorageInterface $storage, array &$values) {
}