You are here

public function PushChanges::__construct in CMS Content Sync 8

Same name and namespace in other branches
  1. 2.1.x src/Plugin/Action/PushChanges.php \Drupal\cms_content_sync\Plugin\Action\PushChanges::__construct()
  2. 2.0.x src/Plugin/Action/PushChanges.php \Drupal\cms_content_sync\Plugin\Action\PushChanges::__construct()

Constructs a new DeleteNode 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

Overrides PluginBase::__construct

File

src/Plugin/Action/PushChanges.php, line 46

Class

PushChanges
Push the node with Content Sync.

Namespace

Drupal\cms_content_sync\Plugin\Action

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, PrivateTempStoreFactory $temp_store_factory) {
  $this->tempStore = $temp_store_factory
    ->get('node_cms_content_sync_push_changes_confirm');
  parent::__construct($configuration, $plugin_id, $plugin_definition);
}