public function UpdateTracking::__construct in Acquia Content Hub 8.2
UpdateTracking constructor.
Parameters
\Drupal\acquia_contenthub_publisher\PublisherTracker $tracker: The publisher tracker.
\Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_factory: The logger channel factory.
File
- modules/
acquia_contenthub_publisher/ src/ EventSubscriber/ DeleteRemoteEntity/ UpdateTracking.php, line 38
Class
- UpdateTracking
- Removes deleted remote entities from the publisher tracking table.
Namespace
Drupal\acquia_contenthub_publisher\EventSubscriber\DeleteRemoteEntityCode
public function __construct(PublisherTracker $tracker, LoggerChannelFactoryInterface $logger_factory) {
$this->tracker = $tracker;
$this->channel = $logger_factory
->get('acquia_contenthub_publisher');
}