You are here

public function AcsfDuplicationScrubCommentHandler::__construct in Acquia Cloud Site Factory Connector 8

Same name and namespace in other branches
  1. 8.2 src/Event/AcsfDuplicationScrubCommentHandler.php \Drupal\acsf\Event\AcsfDuplicationScrubCommentHandler::__construct()

Constructor.

Parameters

AcsfEvent $event: The event that has been initiated.

Overrides AcsfDuplicationScrubEntityHandler::__construct

File

src/Event/AcsfDuplicationScrubCommentHandler.php, line 16

Class

AcsfDuplicationScrubCommentHandler
Handles the scrubbing of Drupal comments.

Namespace

Drupal\acsf\Event

Code

public function __construct(AcsfEvent $event) {
  $this->entityTypeId = 'comment';
  parent::__construct($event);
}