You are here

public function ContentTranslationDefaultsConfigOverride::__construct in Open Social 10.3.x

Same name in this branch
  1. 10.3.x modules/social_features/social_featured_content/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_featured_content\ContentTranslationDefaultsConfigOverride::__construct()
  2. 10.3.x modules/social_features/social_content_block/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_content_block\ContentTranslationDefaultsConfigOverride::__construct()
  3. 10.3.x modules/social_features/social_featured_items/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_featured_items\ContentTranslationDefaultsConfigOverride::__construct()
  4. 10.3.x modules/social_features/social_core/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_core\ContentTranslationDefaultsConfigOverride::__construct()
  5. 10.3.x modules/social_features/social_follow_taxonomy/modules/social_follow_landing_page/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_follow_landing_page\ContentTranslationDefaultsConfigOverride::__construct()

Constructs the service with DI.

Parameters

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

File

modules/social_features/social_core/src/ContentTranslationDefaultsConfigOverride.php, line 30

Class

ContentTranslationDefaultsConfigOverride
Provides content translation for the Social Core module.

Namespace

Drupal\social_core

Code

public function __construct(ModuleHandler $module_handler) {
  $this->moduleHandler = $module_handler;
}