public function AgreementEntity::__construct in Agreement 8.2
Same name and namespace in other branches
- 3.0.x 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\fieldCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityTypeManagerInterface $entityTypeManager) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->entityTypeManager = $entityTypeManager;
}