NodePreviewForm::$entityDisplayRepository

Same name in other branches
  1. 9 core/modules/node/src/Form/NodePreviewForm.php \Drupal\node\Form\NodePreviewForm::entityDisplayRepository
  2. 10 core/modules/node/src/Form/NodePreviewForm.php \Drupal\node\Form\NodePreviewForm::entityDisplayRepository
  3. 11.x core/modules/node/src/Form/NodePreviewForm.php \Drupal\node\Form\NodePreviewForm::entityDisplayRepository

The entity display repository.

Type: \Drupal\Core\Entity\EntityDisplayRepositoryInterface

File

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

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.