You are here

final public function DashboardController::__construct in Purge 8.3

Construct a DashboardController object.

Parameters

\Drupal\purge\Plugin\Purge\DiagnosticCheck\DiagnosticsServiceInterface $purge_diagnostics: Diagnostics service that reports any preliminary issues regarding purge.

\Drupal\purge\Plugin\Purge\Invalidation\InvalidationsServiceInterface $purge_invalidation_factory: The invalidation objects factory service.

\Drupal\purge\Plugin\Purge\Processor\ProcessorsServiceInterface $purge_processors: The purge processors service.

\Drupal\purge\Plugin\Purge\Purger\PurgersServiceInterface $purge_purgers: The purgers service.

\Drupal\purge\Plugin\Purge\Queue\QueueServiceInterface $purge_queue: The purge queue service.

\Drupal\purge\Plugin\Purge\Queuer\QueuersServiceInterface $purge_queuers: The purge queuers service.

\Symfony\Component\HttpFoundation\Request $request: The current request from the request stack.

File

modules/purge_ui/src/Controller/DashboardController.php, line 120

Class

DashboardController
Configuration dashboard for configuring the cache invalidation pipeline.

Namespace

Drupal\purge_ui\Controller

Code

public final function __construct(DiagnosticsServiceInterface $purge_diagnostics, InvalidationsServiceInterface $purge_invalidation_factory, ProcessorsServiceInterface $purge_processors, PurgersServiceInterface $purge_purgers, QueueServiceInterface $purge_queue, QueuersServiceInterface $purge_queuers, Request $request) {
  $this->purgeDiagnostics = $purge_diagnostics;
  $this->purgeInvalidationFactory = $purge_invalidation_factory;
  $this->purgeProcessors = $purge_processors;
  $this->purgePurgers = $purge_purgers;
  $this->purgeQueue = $purge_queue;
  $this->purgeQueuers = $purge_queuers;
  $this->request = $request;
}