You are here

public function FlowPullConfirmation::__construct in CMS Content Sync 8

Same name and namespace in other branches
  1. 2.1.x src/Form/FlowPullConfirmation.php \Drupal\cms_content_sync\Form\FlowPullConfirmation::__construct()
  2. 2.0.x src/Form/FlowPullConfirmation.php \Drupal\cms_content_sync\Form\FlowPullConfirmation::__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/FlowPullConfirmation.php, line 68

Class

FlowPullConfirmation
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');
}