You are here

public function LingotekContentModerationConfigurationService::__construct in Lingotek Translation 3.0.x

Same name and namespace in other branches
  1. 8.2 src/Moderation/LingotekContentModerationConfigurationService.php \Drupal\lingotek\Moderation\LingotekContentModerationConfigurationService::__construct()
  2. 4.0.x src/Moderation/LingotekContentModerationConfigurationService.php \Drupal\lingotek\Moderation\LingotekContentModerationConfigurationService::__construct()
  3. 3.1.x src/Moderation/LingotekContentModerationConfigurationService.php \Drupal\lingotek\Moderation\LingotekContentModerationConfigurationService::__construct()
  4. 3.2.x src/Moderation/LingotekContentModerationConfigurationService.php \Drupal\lingotek\Moderation\LingotekContentModerationConfigurationService::__construct()
  5. 3.3.x src/Moderation/LingotekContentModerationConfigurationService.php \Drupal\lingotek\Moderation\LingotekContentModerationConfigurationService::__construct()
  6. 3.4.x src/Moderation/LingotekContentModerationConfigurationService.php \Drupal\lingotek\Moderation\LingotekContentModerationConfigurationService::__construct()
  7. 3.5.x src/Moderation/LingotekContentModerationConfigurationService.php \Drupal\lingotek\Moderation\LingotekContentModerationConfigurationService::__construct()
  8. 3.6.x src/Moderation/LingotekContentModerationConfigurationService.php \Drupal\lingotek\Moderation\LingotekContentModerationConfigurationService::__construct()
  9. 3.7.x src/Moderation/LingotekContentModerationConfigurationService.php \Drupal\lingotek\Moderation\LingotekContentModerationConfigurationService::__construct()
  10. 3.8.x src/Moderation/LingotekContentModerationConfigurationService.php \Drupal\lingotek\Moderation\LingotekContentModerationConfigurationService::__construct()

Constructs a new LingotekContentModerationConfigurationService object.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

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

File

src/Moderation/LingotekContentModerationConfigurationService.php, line 32

Class

LingotekContentModerationConfigurationService
Service for managing content moderation settings in the Lingotek integration.

Namespace

Drupal\lingotek\Moderation

Code

public function __construct(ModuleHandlerInterface $module_handler, ConfigFactoryInterface $config_factory) {
  $this
    ->setModuleHandler($module_handler);
  $this->configFactory = $config_factory;
}