Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V4 reference to add entity layout builder #1327

Open
Boby opened this issue Feb 20, 2023 · 1 comment
Open

V4 reference to add entity layout builder #1327

Boby opened this issue Feb 20, 2023 · 1 comment

Comments

@Boby
Copy link

Boby commented Feb 20, 2023

Hi,

I am trying to setup a schema to get layout builder data, is there any reference i can look into? setting up schema should I use

Interface entityInterface or nodeInterface?

@ayalon
Copy link

ayalon commented Mar 10, 2023

Checkout our module https://www.drupal.org/project/graphql_core_schema
You should be able to build such a schema with a few clicks using our UI to expose the related fields.
But keep in mind: The most important part of the Layout Builder data is stored serialized in the database, which is a huge design flaw.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants