protected property ContentEntityBase::$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 LanguageInterface::LANGCODE_DEFAULT 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

core/lib/Drupal/Core/Entity/ContentEntityBase.php, line 49

Class

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

Namespace

Drupal\Core\Entity

Code

protected $values = array();

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!ContentEntityBase.php/property/ContentEntityBase::values/8.1.x