You are here

protected property PreviewEntity::$repository in Acquia Content Hub 8.2

The entity repository.

Type: \Drupal\Core\Entity\EntityRepositoryInterface

File

modules/acquia_contenthub_preview/src/Controller/PreviewEntity.php, line 22

Class

PreviewEntity
Controller for previewing entities in content as a service.

Namespace

Drupal\acquia_contenthub_preview\Controller

Code

protected $repository;