Part of #2285413: [Meta] Standardize entity route names, which is part of #2259445: Entity Resource unification
Standardize all user entity route names to a standard format, as described below.
Problem/Motivation
Let's make any API changes now for the parent issue so that it doesn't block beta.
Proposed resolution
In order to get the API changes taken care of up-front for the parent issue, we are going to rename all of the entity-related routes to match what they will be once they are auto-generated. That way, once we start auto-generating them we can remove the static ones or not and there's no affect on module developers.
Remaining tasks
Rename all entity HTML routes to match a common format.
The common format is: entity.$entityname.$relationship, where $entityname is the machine name of the entity and $relationship is the relationship as defined in the entity annotation, machine-name-ified. (Convert - to _).
This requires a change to the entity annotation, the defined routes, and any generator calls to those routes.
User interface changes
None.
API changes
Many routes will have different names. Otherwise no change.
Comment | File | Size | Author |
---|---|---|---|
#21 | standardize-user-route-names-2291829-21.patch | 19.63 KB | kgoel |
#19 | interdiff.txt | 414 bytes | dawehner |
#19 | standardize-user-route-names-2291829-19.patch | 19.62 KB | dawehner |
#17 | standardize-user-route-names-2291829-17.patch | 20.03 KB | kgoel |
#13 | standardize-user-route-names-2291829-13.patch | 8.05 KB | kgoel |
Comments
Comment #1
Crell CreditAttribution: Crell commentedComment #2
kgoel CreditAttribution: kgoel commentedComment #3
kgoel CreditAttribution: kgoel commentedComment #5
kgoel CreditAttribution: kgoel commentedComment #7
kgoel CreditAttribution: kgoel commentedRemoved canonical route name for testing
Comment #9
kgoel CreditAttribution: kgoel commentedComment #11
Crell CreditAttribution: Crell commentedThis is not a meta.
Comment #12
kgoel CreditAttribution: kgoel commentedComment #13
kgoel CreditAttribution: kgoel commentedComment #15
Crell CreditAttribution: Crell commentedComment #16
Crell CreditAttribution: Crell commentedComment #17
kgoel CreditAttribution: kgoel commentedComment #19
dawehnerPlease don't grant me. The patch itself looks really fine, there is just this one small problem, see interdiff.
Comment #20
alexpottNeeds a reroll
Comment #21
kgoel CreditAttribution: kgoel commentedComment #22
dawehnerThank you for the reroll
Comment #23
alexpottCommitted b428eda and pushed to 8.0.x. Thanks!
reflowed comment on commit.