You are here

public function ContentSyncHelpManager::__construct in Content Synchronization 8

Same name and namespace in other branches
  1. 8.2 src/ContentSyncHelpManager.php \Drupal\content_sync\ContentSyncHelpManager::__construct()
  2. 3.0.x src/ContentSyncHelpManager.php \Drupal\content_sync\ContentSyncHelpManager::__construct()

Constructs a ContentSyncHelpManager object.

Parameters

\Drupal\Core\Session\AccountInterface $current_user: Current user.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration object factory.

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

\Drupal\Core\State\StateInterface $state: The state service.

\Drupal\Core\Path\PathMatcherInterface $path_matcher: The path matcher.

File

src/ContentSyncHelpManager.php, line 88

Class

ContentSyncHelpManager
Content Sync help manager.

Namespace

Drupal\content_sync

Code

public function __construct(AccountInterface $current_user, ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler, StateInterface $state, PathMatcherInterface $path_matcher) {
  $this->currentUser = $current_user;
  $this->configFactory = $config_factory;
  $this->moduleHandler = $module_handler;
  $this->state = $state;
  $this->pathMatcher = $path_matcher;
  $this->help = $this
    ->initHelp();
}