public function EntityUsageTrackBase::trackOnEntityCreation in Entity Usage 8
Same name and namespace in other branches
- 8.2 src/EntityUsageTrackBase.php \Drupal\entity_usage\EntityUsageTrackBase::trackOnEntityCreation()
- 8.3 src/EntityUsageTrackBase.php \Drupal\entity_usage\EntityUsageTrackBase::trackOnEntityCreation()
Track usage updates on the creation of entities.
Parameters
\Drupal\Core\Entity\ContentEntityInterface $entity: The entity we are dealing with.
Overrides EntityUsageTrackInterface::trackOnEntityCreation
3 methods override EntityUsageTrackBase::trackOnEntityCreation()
- EmbedBase::trackOnEntityCreation in src/
Plugin/ EntityUsage/ Track/ EmbedBase.php - Track usage updates on the creation of entities.
- EntityReference::trackOnEntityCreation in src/
Plugin/ EntityUsage/ Track/ EntityReference.php - Track usage updates on the creation of entities.
- Link::trackOnEntityCreation in src/
Plugin/ EntityUsage/ Track/ Link.php - Track usage updates on the creation of entities.
File
- src/
EntityUsageTrackBase.php, line 88
Class
- EntityUsageTrackBase
- Base implementation for track plugins.
Namespace
Drupal\entity_usageCode
public function trackOnEntityCreation(ContentEntityInterface $entity) {
}