You are here

public function ParagraphLineageRevisioner::__construct in Paragraphs Edit 8.2

Construct a new ParagraphLineageRevisioner object.

Parameters

\Drupal\paragraphs_edit\ParagraphLineageInspector $lineage_inspector: Provides paragraphs_edit.lineage.inspector service.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: Provides service.

File

src/ParagraphLineageRevisioner.php, line 33

Class

ParagraphLineageRevisioner
ParagraphLineageRevisioner class.

Namespace

Drupal\paragraphs_edit

Code

public function __construct(ParagraphLineageInspector $lineage_inspector, EntityTypeManagerInterface $entity_type_manager) {
  $this->lineageInspector = $lineage_inspector;
  $this->entityTypeManager = $entity_type_manager;
}