You are here

protected function InlineEntityFormMediaWidget::setEntityDisplayRepository in DropzoneJS 8.2

Set the entity display repository service.

Parameters

\Drupal\Core\Entity\EntityDisplayRepositoryInterface $entityDisplayRepository: The entity display repository service.

File

modules/eb_widget/src/Plugin/EntityBrowser/Widget/InlineEntityFormMediaWidget.php, line 49

Class

InlineEntityFormMediaWidget
Provides an Entity Browser widget that uploads and edit new files.

Namespace

Drupal\dropzonejs_eb_widget\Plugin\EntityBrowser\Widget

Code

protected function setEntityDisplayRepository(EntityDisplayRepositoryInterface $entityDisplayRepository) {
  $this->entityDisplayRepository = $entityDisplayRepository;
}