You are here

public function QuickEditIntegration::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/layout_builder/src/QuickEditIntegration.php \Drupal\layout_builder\QuickEditIntegration::__construct()

Constructs a new QuickEditIntegration object.

Parameters

\Drupal\layout_builder\SectionStorage\SectionStorageManagerInterface $section_storage_manager: The section storage manager.

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

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

File

core/modules/layout_builder/src/QuickEditIntegration.php, line 62

Class

QuickEditIntegration
Helper methods for Quick Edit module integration.

Namespace

Drupal\layout_builder

Code

public function __construct(SectionStorageManagerInterface $section_storage_manager, AccountInterface $current_user, EntityTypeManagerInterface $entity_type_manager) {
  $this->sectionStorageManager = $section_storage_manager;
  $this->currentUser = $current_user;
  $this->entityTypeManager = $entity_type_manager;
}