You are here

public function ParagraphsBrowserForm::__construct in Paragraphs Browser 8

Constructs a new ParagraphsTypeDeleteConfirm object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager:

\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info:

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler service.

\Drupal\Core\Session\AccountInterface $current_user: The current user.

File

src/Form/ParagraphsBrowserForm.php, line 73
Contains \Drupal\paragraphs_browser\Form\ParagraphsBrowserForm.

Class

ParagraphsBrowserForm
Class CleanupUrlAliases.

Namespace

Drupal\paragraphs_browser\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, EntityTypeBundleInfoInterface $entity_type_bundle_info, ModuleHandlerInterface $module_handler, AccountInterface $current_user) {
  $this->entityTypeManager = $entity_type_manager;
  $this->entityTypeBundleInfo = $entity_type_bundle_info;
  $this->moduleHandler = $module_handler;
  $this->currentUser = $current_user;
}