NodePreviewForm::$entityDisplayRepository

The entity display repository.

Type: \Drupal\Core\Entity\EntityDisplayRepositoryInterface

File

core/modules/node/src/Form/NodePreviewForm.php, line 25

Class

NodePreviewForm
Contains a form for switching the view mode of a node during preview.

Namespace

Drupal\node\Form

Code

protected $entityDisplayRepository;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.