ContentEntityBase::$values
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/ContentEntityBase.php \Drupal\Core\Entity\ContentEntityBase::values
- 10 core/lib/Drupal/Core/Entity/ContentEntityBase.php \Drupal\Core\Entity\ContentEntityBase::values
- 11.x core/lib/Drupal/Core/Entity/ContentEntityBase.php \Drupal\Core\Entity\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 40
Class
- ContentEntityBase
- Implements Entity Field API specific enhancements to the Entity class.
Namespace
Drupal\Core\EntityCode
protected $values = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.