public function ConfigSource::__construct

Constructs a ConfigTranslationController.

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\config_translation\ConfigMapperManagerInterface $config_mapper_manager: The configuration mapper manager.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\Core\Config\TypedConfigManagerInterface $typedConfigManagerInterface: The typed config.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

\Drupal\language\ConfigurableLanguageManagerInterface: Configurable language manager.

File

sources/tmgmt_config/src/Plugin/tmgmt/Source/ConfigSource.php, line 90

Class

ConfigSource
Content entity source plugin controller.

Namespace

Drupal\tmgmt_config\Plugin\tmgmt\Source

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, ConfigMapperManagerInterface $config_mapper_manager, EntityTypeManagerInterface $entity_type_manager, TypedConfigManagerInterface $typedConfigManagerInterface, ConfigFactoryInterface $config_factory, ConfigurableLanguageManagerInterface $language_manager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->configMapperManager = $config_mapper_manager;
  $this->entityTypeManager = $entity_type_manager;
  $this->typedConfig = $typedConfigManagerInterface;
  $this->configFactoryManager = $config_factory;
  $this->languageManager = $language_manager;
}