public function UserLanguage::__construct in Open Social 10.0.x
Same name and namespace in other branches
- 8.9 modules/custom/social_language/src/Plugin/UserExportPlugin/UserLanguage.php \Drupal\social_language\Plugin\UserExportPlugin\UserLanguage::__construct()
- 8.7 modules/custom/social_language/src/Plugin/UserExportPlugin/UserLanguage.php \Drupal\social_language\Plugin\UserExportPlugin\UserLanguage::__construct()
- 8.8 modules/custom/social_language/src/Plugin/UserExportPlugin/UserLanguage.php \Drupal\social_language\Plugin\UserExportPlugin\UserLanguage::__construct()
- 10.3.x modules/custom/social_language/src/Plugin/UserExportPlugin/UserLanguage.php \Drupal\social_language\Plugin\UserExportPlugin\UserLanguage::__construct()
- 10.1.x modules/custom/social_language/src/Plugin/UserExportPlugin/UserLanguage.php \Drupal\social_language\Plugin\UserExportPlugin\UserLanguage::__construct()
- 10.2.x modules/custom/social_language/src/Plugin/UserExportPlugin/UserLanguage.php \Drupal\social_language\Plugin\UserExportPlugin\UserLanguage::__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\Core\Language\LanguageManagerInterface $language_manager: The language manager service.
Overrides UserExportPluginBase::__construct
File
- modules/
custom/ social_language/ src/ Plugin/ UserExportPlugin/ UserLanguage.php, line 49
Class
- UserLanguage
- Provides a 'UserLanguage' user export row.
Namespace
Drupal\social_language\Plugin\UserExportPluginCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityTypeManagerInterface $entity_type_manager, DateFormatterInterface $date_formatter, Connection $database, LanguageManagerInterface $language_manager) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $entity_type_manager, $date_formatter, $database);
$this->languageManager = $language_manager;
}