function EntityBase::postCreate

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

Overrides EntityInterface::postCreate

3 calls to EntityBase::postCreate()
FieldConfigBase::postCreate in core/lib/Drupal/Core/Field/FieldConfigBase.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.
4 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.
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 460

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.