You are here

public function MediaTypePersistenceManager::__construct in Gutenberg 8

Same name and namespace in other branches
  1. 8.2 src/Persistence/MediaTypePersistenceManager.php \Drupal\gutenberg\Persistence\MediaTypePersistenceManager::__construct()

MediaTypePersistenceManager constructor.

Parameters

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

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

File

src/Persistence/MediaTypePersistenceManager.php, line 39

Class

MediaTypePersistenceManager
Provides management for all media types.

Namespace

Drupal\gutenberg\Persistence

Code

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