function EntityBase::postCreate

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::postCreate()
  2. 8.9.x core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::postCreate()
  3. 10 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::postCreate()

Overrides EntityInterface::postCreate

4 calls to EntityBase::postCreate()
FieldConfigBase::postCreate in core/lib/Drupal/Core/Field/FieldConfigBase.php
Acts on a created entity before hooks are invoked.
FieldStorageConfig::postCreate in core/modules/field/src/Entity/FieldStorageConfig.php
Acts on a created entity before hooks are invoked.
SearchPage::postCreate in core/modules/search/src/Entity/SearchPage.php
Acts on a created entity before hooks are invoked.
View::postCreate in core/modules/views/src/Entity/View.php
Acts on a created entity before hooks are invoked.
5 methods override EntityBase::postCreate()
ContentEntityBase::postCreate in core/lib/Drupal/Core/Entity/ContentEntityBase.php
Acts on a created entity before hooks are invoked.
FieldConfigBase::postCreate in core/lib/Drupal/Core/Field/FieldConfigBase.php
Acts on a created entity before hooks are invoked.
FieldStorageConfig::postCreate in core/modules/field/src/Entity/FieldStorageConfig.php
Acts on a created entity before hooks are invoked.
SearchPage::postCreate in core/modules/search/src/Entity/SearchPage.php
Acts on a created entity before hooks are invoked.
View::postCreate in core/modules/views/src/Entity/View.php
Acts on a created entity before hooks are invoked.

File

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

Class

EntityBase
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

public function postCreate(EntityStorageInterface $storage) {
}

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