You are here

public function EntityInterface::postCreate in Zircon Profile 8

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

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

Parameters

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

2 methods override EntityInterface::postCreate()
Entity::postCreate in core/lib/Drupal/Core/Entity/Entity.php
Acts on an entity after it is created but before hooks are invoked.
ViewUI::postCreate in core/modules/views_ui/src/ViewUI.php
Acts on a created entity before hooks are invoked.

File

core/lib/Drupal/Core/Entity/EntityInterface.php, line 349
Contains \Drupal\Core\Entity\EntityInterface.

Class

EntityInterface
Defines a common interface for all entity objects.

Namespace

Drupal\Core\Entity

Code

public function postCreate(EntityStorageInterface $storage);