public function ConvertBundlesActionBase::__construct in Convert Bundles 8
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 ConfigurableActionBase::__construct
File
- src/
Plugin/ Action/ ConvertBundlesActionBase.php, line 89
Class
- ConvertBundlesActionBase
- Update Bundles.
Namespace
Drupal\convert_bundles\Plugin\ActionCode
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;
}