You are here

public function FlowPushConfirmation::__construct in CMS Content Sync 8

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

Constructs a DeleteMultiple form object.

Parameters

\Drupal\Core\TempStore\PrivateTempStoreFactory $temp_store_factory: The tempstore factory

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException

\Drupal\Component\Plugin\Exception\PluginNotFoundException

File

src/Form/FlowPushConfirmation.php, line 68

Class

FlowPushConfirmation
Provides a pool pull all confirmation page.

Namespace

Drupal\cms_content_sync\Form

Code

public function __construct(PrivateTempStoreFactory $temp_store_factory, EntityTypeManager $manager) {
  $this->tempStoreFactory = $temp_store_factory;
  $this->flow_storage = $manager
    ->getStorage('cms_content_sync_flow');
}