You are here

public function BulkNodeExport::__construct in Node export 8

Same name in this branch
  1. 8 src/Form/BulkNodeExport.php \Drupal\node_Export\Form\BulkNodeExport::__construct()
  2. 8 src/Plugin/Action/BulkNodeExport.php \Drupal\node_export\Plugin\Action\BulkNodeExport::__construct()

Constructs a \Drupal\node_export\Form\BulkNodeExport.

Parameters

\Drupal\Core\TempStore\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/BulkNodeExport.php, line 71

Class

BulkNodeExport
Provides a Node Export form.

Namespace

Drupal\node_Export\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;
}