You are here

public function ConfirmAction::__construct in Views Bulk Operations (VBO) 8

Same name and namespace in other branches
  1. 8.3 src/Form/ConfirmAction.php \Drupal\views_bulk_operations\Form\ConfirmAction::__construct()
  2. 8.2 src/Form/ConfirmAction.php \Drupal\views_bulk_operations\Form\ConfirmAction::__construct()
  3. 4.0.x src/Form/ConfirmAction.php \Drupal\views_bulk_operations\Form\ConfirmAction::__construct()

Constructor.

Parameters

\Drupal\user\PrivateTempStoreFactory $tempStoreFactory: User private temporary storage factory.

\Drupal\views_bulk_operations\Service\ViewsBulkOperationsActionManager $actionManager: Extended action manager object.

\Drupal\views_bulk_operations\Service\ViewsBulkOperationsActionProcessorInterface $actionProcessor: Views Bulk Operations action processor.

File

src/Form/ConfirmAction.php, line 50

Class

ConfirmAction
Default action execution confirmation form.

Namespace

Drupal\views_bulk_operations\Form

Code

public function __construct(PrivateTempStoreFactory $tempStoreFactory, ViewsBulkOperationsActionManager $actionManager, ViewsBulkOperationsActionProcessorInterface $actionProcessor) {
  $this->tempStoreFactory = $tempStoreFactory;
  $this->actionManager = $actionManager;
  $this->actionProcessor = $actionProcessor;
}