You are here

public function DefaultMediaSelectionProcessor::__construct in Gutenberg 8.2

Same name and namespace in other branches
  1. 8 src/MediaSelectionProcessor/DefaultMediaSelectionProcessor.php \Drupal\gutenberg\MediaSelectionProcessor\DefaultMediaSelectionProcessor::__construct()

DefaultMediaSelectionProcessor constructor.

Parameters

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

File

src/MediaSelectionProcessor/DefaultMediaSelectionProcessor.php, line 27

Class

DefaultMediaSelectionProcessor
Handles default processing for media library selection.

Namespace

Drupal\gutenberg\MediaSelectionProcessor

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager) {
  $this->entityTypeManager = $entity_type_manager;
}