public static function UserExportPluginBase::create in Open Social 8.7
Same name and namespace in other branches
- 8.9 modules/social_features/social_user_export/src/Plugin/UserExportPluginBase.php \Drupal\social_user_export\Plugin\UserExportPluginBase::create()
- 8.3 modules/social_features/social_user_export/src/Plugin/UserExportPluginBase.php \Drupal\social_user_export\Plugin\UserExportPluginBase::create()
- 8.4 modules/social_features/social_user_export/src/Plugin/UserExportPluginBase.php \Drupal\social_user_export\Plugin\UserExportPluginBase::create()
- 8.5 modules/social_features/social_user_export/src/Plugin/UserExportPluginBase.php \Drupal\social_user_export\Plugin\UserExportPluginBase::create()
- 8.6 modules/social_features/social_user_export/src/Plugin/UserExportPluginBase.php \Drupal\social_user_export\Plugin\UserExportPluginBase::create()
- 8.8 modules/social_features/social_user_export/src/Plugin/UserExportPluginBase.php \Drupal\social_user_export\Plugin\UserExportPluginBase::create()
- 10.3.x modules/social_features/social_user_export/src/Plugin/UserExportPluginBase.php \Drupal\social_user_export\Plugin\UserExportPluginBase::create()
- 10.0.x modules/social_features/social_user_export/src/Plugin/UserExportPluginBase.php \Drupal\social_user_export\Plugin\UserExportPluginBase::create()
- 10.1.x modules/social_features/social_user_export/src/Plugin/UserExportPluginBase.php \Drupal\social_user_export\Plugin\UserExportPluginBase::create()
- 10.2.x modules/social_features/social_user_export/src/Plugin/UserExportPluginBase.php \Drupal\social_user_export\Plugin\UserExportPluginBase::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 ContainerFactoryPluginInterface::create
4 methods override UserExportPluginBase::create()
- EnrolmentUserDisplayName::create in modules/
social_features/ social_event/ modules/ social_event_an_enroll_enrolments_export/ src/ Plugin/ UserExportPlugin/ EnrolmentUserDisplayName.php - The create method.
- UserAnalyticsGroupMemberships::create in modules/
social_features/ social_user_export/ src/ Plugin/ UserExportPlugin/ UserAnalyticsGroupMemberships.php - The create method.
- UserGroupMemberships::create in modules/
social_features/ social_user_export/ src/ Plugin/ UserExportPlugin/ UserGroupMemberships.php - The create method.
- UserLanguage::create in modules/
custom/ social_language/ src/ Plugin/ UserExportPlugin/ UserLanguage.php - The create method.
File
- modules/
social_features/ social_user_export/ src/ Plugin/ UserExportPluginBase.php, line 83
Class
- UserExportPluginBase
- Base class for User export plugin plugins.
Namespace
Drupal\social_user_export\PluginCode
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'));
}