protected property EntityNG::$compatibilityMode

Whether the entity is in pre-Entity Field API compatibility mode.

If set to TRUE, field values are written directly to $this->values, thus must be plain property values keyed by language code. This must be enabled when calling legacy field API attachers.

Type: bool

File

drupal/core/lib/Drupal/Core/Entity/EntityNG.php, line 61
Definition of Drupal\Core\Entity\EntityNG.

Class

EntityNG
Implements Entity Field API specific enhancements to the Entity class.

Namespace

Drupal\Core\Entity

Code

protected $compatibilityMode = FALSE;