You are here

protected property EntityFormDisplay::$displayContext in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php \Drupal\Core\Entity\Entity\EntityFormDisplay::displayContext
  2. 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 an entity form in a given form mode.

Namespace

Drupal\Core\Entity\Entity

Code

protected $displayContext = 'form';