EntityViewDisplay::$displayContext

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php \Drupal\Core\Entity\Entity\EntityViewDisplay::displayContext
  2. 8.9.x core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php \Drupal\Core\Entity\Entity\EntityViewDisplay::displayContext
  3. 10 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 54

Class

EntityViewDisplay
Configuration entity.

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.