You are here

public function UserGroupMemberships::__construct in Open Social 8.9

Same name and namespace in other branches
  1. 8.4 modules/social_features/social_user_export/src/Plugin/UserExportPlugin/UserGroupMemberships.php \Drupal\social_user_export\Plugin\UserExportPlugin\UserGroupMemberships::__construct()
  2. 8.5 modules/social_features/social_user_export/src/Plugin/UserExportPlugin/UserGroupMemberships.php \Drupal\social_user_export\Plugin\UserExportPlugin\UserGroupMemberships::__construct()
  3. 8.6 modules/social_features/social_user_export/src/Plugin/UserExportPlugin/UserGroupMemberships.php \Drupal\social_user_export\Plugin\UserExportPlugin\UserGroupMemberships::__construct()
  4. 8.7 modules/social_features/social_user_export/src/Plugin/UserExportPlugin/UserGroupMemberships.php \Drupal\social_user_export\Plugin\UserExportPlugin\UserGroupMemberships::__construct()
  5. 8.8 modules/social_features/social_user_export/src/Plugin/UserExportPlugin/UserGroupMemberships.php \Drupal\social_user_export\Plugin\UserExportPlugin\UserGroupMemberships::__construct()
  6. 10.3.x modules/social_features/social_user_export/src/Plugin/UserExportPlugin/UserGroupMemberships.php \Drupal\social_user_export\Plugin\UserExportPlugin\UserGroupMemberships::__construct()
  7. 10.0.x modules/social_features/social_user_export/src/Plugin/UserExportPlugin/UserGroupMemberships.php \Drupal\social_user_export\Plugin\UserExportPlugin\UserGroupMemberships::__construct()
  8. 10.1.x modules/social_features/social_user_export/src/Plugin/UserExportPlugin/UserGroupMemberships.php \Drupal\social_user_export\Plugin\UserExportPlugin\UserGroupMemberships::__construct()
  9. 10.2.x modules/social_features/social_user_export/src/Plugin/UserExportPlugin/UserGroupMemberships.php \Drupal\social_user_export\Plugin\UserExportPlugin\UserGroupMemberships::__construct()

UserExportPluginBase 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\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter.

\Drupal\Core\Database\Connection $database: The database connection.

\Drupal\social_group\SocialGroupHelperService $group_helper: The group helper service.

Overrides UserExportPluginBase::__construct

File

modules/social_features/social_user_export/src/Plugin/UserExportPlugin/UserGroupMemberships.php, line 50

Class

UserGroupMemberships
Provides a 'UserGroupMemberships' user export row.

Namespace

Drupal\social_user_export\Plugin\UserExportPlugin

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityTypeManagerInterface $entity_type_manager, DateFormatterInterface $date_formatter, Connection $database, SocialGroupHelperService $group_helper) {
  parent::__construct($configuration, $plugin_id, $plugin_definition, $entity_type_manager, $date_formatter, $database);
  $this->groupHelper = $group_helper;
}