You are here

public function AgreementEntity::__construct in Agreement 3.0.x

Same name and namespace in other branches
  1. 8.2 src/Plugin/views/field/AgreementEntity.php \Drupal\agreement\Plugin\views\field\AgreementEntity::__construct()

Initialize method.

Parameters

array $configuration: The plugin configuration.

string $plugin_id: The plugin ID.

mixed $plugin_definition: The plugin definition array.

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

Overrides HandlerBase::__construct

File

src/Plugin/views/field/AgreementEntity.php, line 39

Class

AgreementEntity
Provides a field handler for agreement configuration entities.

Namespace

Drupal\agreement\Plugin\views\field

Code

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