public function ViewsBulkOperationsBulkForm::__construct in Views Bulk Operations (VBO) 8.2
Same name and namespace in other branches
- 8.3 src/Plugin/views/field/ViewsBulkOperationsBulkForm.php \Drupal\views_bulk_operations\Plugin\views\field\ViewsBulkOperationsBulkForm::__construct()
- 8 src/Plugin/views/field/ViewsBulkOperationsBulkForm.php \Drupal\views_bulk_operations\Plugin\views\field\ViewsBulkOperationsBulkForm::__construct()
- 4.0.x src/Plugin/views/field/ViewsBulkOperationsBulkForm.php \Drupal\views_bulk_operations\Plugin\views\field\ViewsBulkOperationsBulkForm::__construct()
Constructs a new BulkForm object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin ID for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\views_bulk_operations\Service\ViewsbulkOperationsViewDataInterface $viewData: The VBO View Data provider service.
\Drupal\views_bulk_operations\Service\ViewsBulkOperationsActionManager $actionManager: Extended action manager object.
\Drupal\views_bulk_operations\Service\ViewsBulkOperationsActionProcessorInterface $actionProcessor: Views Bulk Operations action processor.
\Drupal\Core\TempStore\PrivateTempStoreFactory $tempStoreFactory: User private temporary storage factory.
\Drupal\Core\Session\AccountInterface $currentUser: The current user object.
\Symfony\Component\HttpFoundation\RequestStack $requestStack: The request stack.
Overrides HandlerBase::__construct
File
- src/
Plugin/ views/ field/ ViewsBulkOperationsBulkForm.php, line 126
Class
- ViewsBulkOperationsBulkForm
- Defines the Views Bulk Operations field plugin.
Namespace
Drupal\views_bulk_operations\Plugin\views\fieldCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, ViewsbulkOperationsViewDataInterface $viewData, ViewsBulkOperationsActionManager $actionManager, ViewsBulkOperationsActionProcessorInterface $actionProcessor, PrivateTempStoreFactory $tempStoreFactory, AccountInterface $currentUser, RequestStack $requestStack) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->viewData = $viewData;
$this->actionManager = $actionManager;
$this->actionProcessor = $actionProcessor;
$this->tempStoreFactory = $tempStoreFactory;
$this->currentUser = $currentUser;
$this->requestStack = $requestStack;
}