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 BulkUpdateFields 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\Core\TempStore\PrivateTempStoreFactory $temp_store_factory: The tempstore factory.

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

\Drupal\Core\Session\AccountInterface $current_user: The session.

Overrides PluginBase::__construct

File

src/Plugin/Action/BulkNodeExport.php, line 88

Class

BulkNodeExport
Update Fields.

Namespace

Drupal\node_export\Plugin\Action

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, PrivateTempStoreFactory $temp_store_factory, SessionManagerInterface $session_manager, AccountInterface $current_user) {
  $this->configuration = $configuration;
  $this->pluginId = $plugin_id;
  $this->pluginDefinition = $plugin_definition;
  $this->tempStoreFactory = $temp_store_factory;
  $this->sessionManager = $session_manager;
  $this->currentUser = $current_user;
}