You are here

public function ViewsNaturalSortService::__construct in Views Natural Sort 8.2

Constructor.

File

src/ViewsNaturalSortService.php, line 41

Class

ViewsNaturalSortService
Service that manages Views Natural Sort records.

Namespace

Drupal\views_natural_sort

Code

public function __construct(TransformationManager $transformationManager, ConfigFactory $configFactory, ModuleHandlerInterface $moduleHandler, LoggerChannelFactoryInterface $loggerFactory, Connection $database, ViewsData $viewsData, QueueFactory $queue, QueueWorkerManagerInterface $queueManager, EntityFieldManagerInterface $entityFieldManager, EntityTypeManagerInterface $entityTypeManager, Messenger $messenger, TranslationManager $translator) {
  $this->configFactory = $configFactory;
  $this->moduleHandler = $moduleHandler;
  $this->loggerFactory = $loggerFactory
    ->get('views_natural_sort');
  $this->transformationManager = $transformationManager;
  $this->database = $database;
  $this->viewsData = $viewsData;
  $this->queue = $queue;
  $this->queueManager = $queueManager;
  $this->entityFieldManager = $entityFieldManager;
  $this->entityTypeManager = $entityTypeManager;
  $this->messenger = $messenger;
  $this->translator = $translator;
}