You are here

protected property EntityFormDisplay::$displayContext in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php \Drupal\Core\Entity\Entity\EntityFormDisplay::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/EntityFormDisplay.php, line 44

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';