EntityViewDisplay::$displayContext

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php \Drupal\Core\Entity\Entity\EntityViewDisplay::displayContext
  2. 10 core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php \Drupal\Core\Entity\Entity\EntityViewDisplay::displayContext
  3. 11.x core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php \Drupal\Core\Entity\Entity\EntityViewDisplay::displayContext

Type: displayContext

Overrides EntityDisplayBase::$displayContext

File

core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php, line 43

Class

EntityViewDisplay
Configuration entity that contains display options for all components of a rendered entity in a given view mode.

Namespace

Drupal\Core\Entity\Entity

Code

protected $displayContext = 'view';

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