You are here

protected property EntityDisplayBase::$originalMode in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/EntityDisplayBase.php \Drupal\Core\Entity\EntityDisplayBase::originalMode
  2. 9 core/lib/Drupal/Core/Entity/EntityDisplayBase.php \Drupal\Core\Entity\EntityDisplayBase::originalMode

The original view or form mode that was requested (case of view/form modes being configured to fall back to the 'default' display).

Type: string

File

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

Class

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

Namespace

Drupal\Core\Entity

Code

protected $originalMode;