Needs work
Project:
Drupal core
Version:
main
Component:
entity system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Mar 2022 at 16:03 UTC
Updated:
14 Dec 2022 at 00:22 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
peximo commentedComment #3
plachIn the project we are working on we are generating contextual links to embed them in a SPA to make it possible to perform contextual editing.
I'm not sure whether we need explicit test coverage for this change, since we don't check the visibility of every single method out there. We may or may not want to add an
@apimarker to the PHP doc. Tentatively marking RTBC.Comment #4
fabianx commentedRTBC + 1 - The module using this is called `spa_admin` on d.org: https://www.drupal.org/project/spa_admin
Comment #5
plachWe may actually switch to #3100732: Allow specifying metadata on JSON:API objects.
Comment #7
plachBot fluke
Comment #9
plachComment #11
ravi.shankar commentedBack to RTBC as per comment #3.
Comment #12
catchShould this be added to an interface somewhere? Either one of the ones that EntityViewBuilder already implements, or a new one?
Or alternatively could it be moved to a trait, then that trait added to EntityViewBuilder? It doesn't have any dependencies on the rest of the class as far as I can tell.
Comment #13
smustgrave commentedThink adding it to the EntityViewBuilderInterface should work right?
Comment #14
smustgrave commentedLike this?
Comment #15
smustgrave commented