You are here

public function ShareUsageDataPluginBase::__construct in Open Social 8.6

Same name and namespace in other branches
  1. 8.9 modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPluginBase.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPluginBase::__construct()
  2. 8.5 modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPluginBase.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPluginBase::__construct()
  3. 8.7 modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPluginBase.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPluginBase::__construct()
  4. 8.8 modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPluginBase.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPluginBase::__construct()
  5. 10.3.x modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPluginBase.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPluginBase::__construct()
  6. 10.0.x modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPluginBase.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPluginBase::__construct()
  7. 10.1.x modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPluginBase.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPluginBase::__construct()
  8. 10.2.x modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPluginBase.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPluginBase::__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\Config\ConfigFactory $config: The configuration.

Overrides PluginBase::__construct

File

modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPluginBase.php, line 47

Class

ShareUsageDataPluginBase
Base class for Share usage data plugin plugins.

Namespace

Drupal\social_lets_connect_usage\Plugin

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityTypeManagerInterface $entity_type_manager, ConfigFactory $config) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->entityTypeManager = $entity_type_manager;
  $this->config = $config;
}