protected property EntityViewDisplay::$displayContext in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php \Drupal\Core\Entity\Entity\EntityViewDisplay::displayContext
- 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';