You are here

public function EntityUpdateManager::recalculateUsageInformation in Entity Usage 8.3

Trigger a new usage calculation for a given source entity.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The source entity we are dealing with.

File

src/EntityUpdateManager.php, line 174

Class

EntityUpdateManager
Class EntityUpdateManager.

Namespace

Drupal\entity_usage

Code

public function recalculateUsageInformation(EntityInterface $entity) {
  $this
    ->trackUpdateOnCreation($entity);
}