public function SocialEventInviteRecipientField::__construct in Open Social 10.0.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_event/modules/social_event_invite/src/Plugin/views/field/SocialEventInviteRecipientField.php \Drupal\social_event_invite\Plugin\views\field\SocialEventInviteRecipientField::__construct()
- 10.3.x modules/social_features/social_event/modules/social_event_invite/src/Plugin/views/field/SocialEventInviteRecipientField.php \Drupal\social_event_invite\Plugin\views\field\SocialEventInviteRecipientField::__construct()
- 10.1.x modules/social_features/social_event/modules/social_event_invite/src/Plugin/views/field/SocialEventInviteRecipientField.php \Drupal\social_event_invite\Plugin\views\field\SocialEventInviteRecipientField::__construct()
- 10.2.x modules/social_features/social_event/modules/social_event_invite/src/Plugin/views/field/SocialEventInviteRecipientField.php \Drupal\social_event_invite\Plugin\views\field\SocialEventInviteRecipientField::__construct()
Constructs a Handler object.
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.
Overrides HandlerBase::__construct
File
- modules/
social_features/ social_event/ modules/ social_event_invite/ src/ Plugin/ views/ field/ SocialEventInviteRecipientField.php, line 40
Class
- SocialEventInviteRecipientField
- Displays the invited email or user if there is an account.
Namespace
Drupal\social_event_invite\Plugin\views\fieldCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityTypeManagerInterface $entityTypeManager, Connection $database) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->entityTypeManager = $entityTypeManager;
$this->database = $database;
}