You are here

public static function UserAnalyticsGroupMemberships::create in Open Social 10.1.x

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

The create method.

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container: Container interface.

array $configuration: An array of configuration.

string $plugin_id: The plugin id.

mixed $plugin_definition: The plugin definition.

Return value

\Drupal\Core\Plugin\ContainerFactoryPluginInterface|\Drupal\social_user_export\Plugin\UserExportPluginBase Returns the UserExportPluginBase.

Overrides UserExportPluginBase::create

File

modules/social_features/social_user_export/src/Plugin/UserExportPlugin/UserAnalyticsGroupMemberships.php, line 70

Class

UserAnalyticsGroupMemberships
Provides a 'UserAnalyticsGroupMemberships' user export row.

Namespace

Drupal\social_user_export\Plugin\UserExportPlugin

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
  return new static($configuration, $plugin_id, $plugin_definition, $container
    ->get('entity_type.manager'), $container
    ->get('date.formatter'), $container
    ->get('database'), $container
    ->get('social_group.helper_service'));
}