protected property EntityViewDisplay::$displayContext in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php \Drupal\Core\Entity\Entity\EntityViewDisplay::displayContext
Context in which this entity will be used (e.g. 'view', 'form').
Type: string
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\EntityCode
protected $displayContext = 'view';