public function ContinuousManager::__construct in Translation Management Tool 8
Constructs a new ContinuousManager.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\tmgmt\SourceManager $source_plugin_manager: The source plugin manager.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
\Drupal\tmgmt\TranslatorManager $translator_manager: The translation manager.
\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher: The event dispatcher service
File
- src/
ContinuousManager.php, line 64
Class
- ContinuousManager
- A service manager for continuous jobs.
Namespace
Drupal\tmgmtCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, SourceManager $source_plugin_manager, ConfigFactoryInterface $config_factory, TranslatorManager $translator_manager, EventDispatcherInterface $event_dispatcher) {
$this->entityTypeManager = $entity_type_manager;
$this->sourcePluginManager = $source_plugin_manager;
$this->configFactory = $config_factory;
$this->translatorManager = $translator_manager;
$this->eventDispatcher = $event_dispatcher;
}