You are here

public function Entity::postCreate in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Entity/Entity.php \Drupal\Core\Entity\Entity::postCreate()

Acts on an entity after it is created but before hooks are invoked.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object.

Overrides EntityInterface::postCreate

3 calls to Entity::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 Entity::postCreate()
ContentEntityBase::postCreate in core/lib/Drupal/Core/Entity/ContentEntityBase.php
Acts on an entity after it is created but 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/Entity.php, line 433
Contains \Drupal\Core\Entity\Entity.

Class

Entity
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

public function postCreate(EntityStorageInterface $storage) {
}