W3cubDocs

/Drupal 8

protected property EntityFormDisplay::$displayContext

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

Type: string

Overrides EntityDisplayBase::$displayContext

File

core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php, line 41

Class

EntityFormDisplay
Configuration entity that contains widget options for all components of a entity form in a given form mode.

Namespace

Drupal\Core\Entity\Entity

Code

protected $displayContext = 'form';

© 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!Entity!EntityFormDisplay.php/property/EntityFormDisplay::displayContext/8.1.x