Not sure if this actually matters as our bundles are themselves entities, but this is wrong:
* bundle_label = @Translation("Flagging"),
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2840485-2.flag_.incorrect-value-for-Flagging-bundlelabel-property.patch | 532 bytes | joachim |
Comments
Comment #2
joachim commentedComment #3
martin107 commentedhttps://www.drupal.org/docs/8/api/entity-api/bundles
In terms of data modelling
Flag as a ConfigEntityType
and
Flagging as a ContentEntity
are related by very separate concepts..
So the thrust of your argument is "let us correctly something that is wrong and give flagging a bundle_label of flag"
I do not follow ....
Comment #4
joachim commentedConsider nodes and node types.
The content entity is the node. The bundles are the node types, represented by the node type entity. So the bundle label of nodes is 'node type'.
With flaggings and flags, the bundle of a flagging is the flag. Hence the bundle label should be 'Flag'.
Comment #6
socketwench commentedJoachim is right, it should be "Flag".