Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EntityBase.php

function EntityBase::preCreate

Overrides EntityInterface::preCreate

2 calls to EntityBase::preCreate()
View::preCreate in core/modules/views/src/Entity/View.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.
4 methods override EntityBase::preCreate()
Comment::preCreate in core/modules/comment/src/Entity/Comment.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 413

Class

EntityBase
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal