Problem/Motivation

Map::getValue() excludes computed properties and there doesn't seem to be a way to override this. Compare to getFields($include_computed = TRUE); which admittedly are about computed fields and not properties but still.

Proposed resolution

No idea.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Comments

Charlie ChX Negyesi created an issue. See original summary.

hchonov’s picture

In one of the approaches we were considering for #2824097: Deep serialization for content entities to make an exact snapshot of an entity object's structure based on its current state we had a way to include the computed properties. Sure, we could decouple this part of the other issue, but keep in mind to implement in a way, which could be used for deep serialization.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.0-alpha1 will be released the week of October 14th, 2019, which means new developments and disruptive changes should now be targeted against the 8.9.x-dev branch. (Any changes to 8.9.x will also be committed to 9.0.x in preparation for Drupal 9’s release, but some changes like significant feature additions will be deferred to 9.1.x.). For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

ghost of drupal past’s picture

Status: Active » Closed (duplicate)

Let's fix the other.