You are here

public function EntityUpdateManager::__construct in Entity Usage 8

Same name and namespace in other branches
  1. 8.2 src/EntityUpdateManager.php \Drupal\entity_usage\EntityUpdateManager::__construct()
  2. 8.3 src/EntityUpdateManager.php \Drupal\entity_usage\EntityUpdateManager::__construct()

EntityUpdateManager constructor.

Parameters

\Drupal\entity_usage\EntityUsage $usage_service: The usage tracking service.

\Drupal\entity_usage\EntityUsageTrackManager $track_manager: The PluginManager track service.

File

src/EntityUpdateManager.php, line 36

Class

EntityUpdateManager
Class EntityUpdateManager.

Namespace

Drupal\entity_usage

Code

public function __construct(EntityUsage $usage_service, EntityUsageTrackManager $track_manager) {
  $this->usageService = $usage_service;
  $this->trackManager = $track_manager;
}