W3cubDocs

/Drupal 8

protected property EntityDisplayBase::$displayContext

Context in which this entity will be used (e.g. 'display', 'form').

Type: string

File

core/lib/Drupal/Core/Entity/EntityDisplayBase.php, line 101

Class

EntityDisplayBase
Provides a common base class for entity view and form displays.

Namespace

Drupal\Core\Entity

Code

protected $displayContext;

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityDisplayBase.php/property/EntityDisplayBase::displayContext/8.1.x