public function MediaTypePersistenceManager::__construct in Gutenberg 8.2
Same name and namespace in other branches
- 8 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\PersistenceCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, AccountInterface $account) {
$this->entityTypeManager = $entity_type_manager;
$this->account = $account;
}