public function EntityUsageTrackInterface::trackOnEntityCreation in Entity Usage 8
Same name and namespace in other branches
- 8.2 src/EntityUsageTrackInterface.php \Drupal\entity_usage\EntityUsageTrackInterface::trackOnEntityCreation()
- 8.3 src/EntityUsageTrackInterface.php \Drupal\entity_usage\EntityUsageTrackInterface::trackOnEntityCreation()
Track usage updates on the creation of entities.
Parameters
\Drupal\Core\Entity\ContentEntityInterface $entity: The entity we are dealing with.
1 method overrides EntityUsageTrackInterface::trackOnEntityCreation()
- EntityUsageTrackBase::trackOnEntityCreation in src/
EntityUsageTrackBase.php - Track usage updates on the creation of entities.
File
- src/
EntityUsageTrackInterface.php, line 50
Class
- EntityUsageTrackInterface
- Defines the interface for entity_usage track methods.
Namespace
Drupal\entity_usageCode
public function trackOnEntityCreation(ContentEntityInterface $entity);