You are here

public function PropertyFlag::__construct in User Merge 2.x

PropertyComment constructor.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

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

\Drupal\flag\FlagServiceInterface $flag: Flag service.

Overrides UserMergePropertyBase::__construct

File

src/Plugin/UserMerge/Property/PropertyFlag.php, line 50

Class

PropertyFlag
Class PropertyFlag.

Namespace

Drupal\usermerge\Plugin\UserMerge\Property

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityTypeManagerInterface $entity_type_manager, FlagServiceInterface $flag) {
  parent::__construct($configuration, $plugin_id, $plugin_definition, $entity_type_manager);
  $this->flag = $flag;
}