You are here

public function EntityUsageTrackInterface::trackOnEntityCreation in Entity Usage 8.2

Same name and namespace in other branches
  1. 8 src/EntityUsageTrackInterface.php \Drupal\entity_usage\EntityUsageTrackInterface::trackOnEntityCreation()
  2. 8.3 src/EntityUsageTrackInterface.php \Drupal\entity_usage\EntityUsageTrackInterface::trackOnEntityCreation()

Track usage updates on the creation of entities.

Parameters

\Drupal\Core\Entity\EntityInterface $source_entity: The source entity.

1 method overrides EntityUsageTrackInterface::trackOnEntityCreation()
EntityUsageTrackBase::trackOnEntityCreation in src/EntityUsageTrackBase.php
Track usage updates on the creation of entities.

File

src/EntityUsageTrackInterface.php, line 60

Class

EntityUsageTrackInterface
Defines the interface for entity_usage track methods.

Namespace

Drupal\entity_usage

Code

public function trackOnEntityCreation(EntityInterface $source_entity);