public property 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

drupal/core/modules/entity/lib/Drupal/entity/EntityDisplayBase.php, line 66
Contains \Drupal\entity\EntityDisplayBase.

Class

EntityDisplayBase
Base class for config entity types that store configuration for entity forms and displays.

Namespace

Drupal\entity

Code

public $originalMode;