protected property EntityNG::$values

The plain data values of the contained fields.

This always holds the original, unchanged values of the entity. The values are keyed by language code, whereas LANGUAGE_NOT_SPECIFIED is used for values in default language.

@todo: Add methods for getting original fields and for determining changes. @todo: Provide a better way for defining default values.

Type: array

File

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

Class

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

Namespace

Drupal\Core\Entity

Code

protected $values = array(
  'langcode' => array(
    LANGUAGE_DEFAULT => array(
      0 => array(
        'value' => LANGUAGE_NOT_SPECIFIED,
      ),
    ),
  ),
);