You are here

public function DiffEntityComparison::setModerationInformation in Diff 8

Sets the content moderation service if available.

Parameters

\Drupal\content_moderation\ModerationInformationInterface $moderation_information: The moderation information service.

File

src/DiffEntityComparison.php, line 358

Class

DiffEntityComparison
Entity comparison service that prepares a diff of a pair of entities.

Namespace

Drupal\diff

Code

public function setModerationInformation(ModerationInformationInterface $moderation_information) {
  $this->moderationInformation = $moderation_information;
}