You are here

public function GroupAddForm::__construct in Paragraphs Browser 8

Constructs a CropWidgetForm object.

Parameters

\Drupal\Core\TempStore\SharedTempStoreFactory $temp_store_factory: The factory for shared temporary storages.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

File

src/Form/GroupAddForm.php, line 53
Contains \Drupal\paragraphs_browser\Form\GroupAddForm.

Class

GroupAddForm
Class GroupAddForm.

Namespace

Drupal\paragraphs_browser\Form

Code

public function __construct(SharedTempStoreFactory $temp_store_factory, EntityTypeManagerInterface $entity_type_manager) {
  $this->tempStore = $temp_store_factory
    ->get('entity_browser_type');
  $this->entityTypeManager = $entity_type_manager;
}