EntityDisplayBase::$displayContext
Context in which this entity will be used (e.g. 'view', 'form').
Type: string
File
- 
              core/
lib/ Drupal/ Core/ Entity/ EntityDisplayBase.php, line 106  
Class
- EntityDisplayBase
 - Provides a common base class for entity view and form displays.
 
Namespace
Drupal\Core\EntityCode
protected $displayContext;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.