CHANGED
CHANGED = 'changed'
The subject exists at both commits and differs.
What changed about one subject between two commits.
The mode is derived from the realm rather than passed in, because the realm is what decides how a subject is rendered: an entity has fields with human labels, a config object has a settings tree, a table row has columns, and a file has blocks and no readable content at all. A renderer that had to be told the mode could be told the wrong one.
$realm : ?\Drupal\strata\Journal\Realm
__construct(string $subject, \Drupal\strata\Journal\Realm|null $realm, string $status, list<\Drupal\strata\Diff\FieldDiff> $fields = [], string $label = '', string|null $problem = null) : mixed
Constructs a subject diff.
| string | $subject | Subject path, in the form |
| \Drupal\strata\Journal\Realm|null | $realm | The realm, or NULL when the path names one this release does not know. |
| string | $status | One of CHANGED, ADDED, REMOVED or UNREADABLE. |
| list<\Drupal\strata\Diff\FieldDiff> | $fields | What changed inside it. |
| string | $label | A human-readable name for the subject, when one is known. |
| string|null | $problem | Why it could not be read, when it could not. |