You are here

public function FieldComparatorParagraphReference::__construct in Conflict 8.2

Constructs a FieldComparatorParagraphReference object.

Parameters

string $plugin_id: The plugin_id for the widget.

mixed $plugin_definition: The plugin implementation definition.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

Overrides PluginBase::__construct

File

modules/conflict_paragraphs/src/Plugin/Conflict/FieldComparator/FieldComparatorParagraphReference.php, line 46

Class

FieldComparatorParagraphReference
Field comparator plugin implementation for paragraph reference fields.

Namespace

Drupal\conflict_paragraphs\Plugin\Conflict\FieldComparator

Code

public function __construct($plugin_id, $plugin_definition, EntityTypeManagerInterface $entity_type_manager) {
  parent::__construct([], $plugin_id, $plugin_definition);
  $this->entityTypeManager = $entity_type_manager;
}