You are here

public function BulkUpdateFieldsForm::__construct in Bulk Update Fields 8

Same name and namespace in other branches
  1. 8.2 src/Form/BulkUpdateFieldsForm.php \Drupal\bulk_update_fields\Form\BulkUpdateFieldsForm::__construct()

Constructs a \Drupal\bulk_update_fields\Form\BulkUpdateFieldsForm.

Parameters

\Drupal\user\PrivateTempStoreFactory $temp_store_factory: Temp storage.

\Drupal\Core\Session\SessionManagerInterface $session_manager: Session.

\Drupal\Core\Session\AccountInterface $current_user: User.

\Drupal\Core\Routing\RouteBuilderInterface $route_builder: Route.

File

src/Form/BulkUpdateFieldsForm.php, line 73

Class

BulkUpdateFieldsForm
BulkUpdateFieldsForm.

Namespace

Drupal\bulk_update_fields\Form

Code

public function __construct(PrivateTempStoreFactory $temp_store_factory, SessionManagerInterface $session_manager, AccountInterface $current_user, RouteBuilderInterface $route_builder) {
  $this->tempStoreFactory = $temp_store_factory;
  $this->sessionManager = $session_manager;
  $this->currentUser = $current_user;
  $this->routeBuilder = $route_builder;
}