Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I'm trying to allow the user to create a template in a field (type-long, formatted) on a node page, including {{ twig }} within the the string that will be in the field.
If I understand the Twig documentation, I should then be able to call {{ include(template_from_string(node.field.value)) }} to use the content of the field. I would then be able to pass in custom variables, etc. within the theme template.html.twig.
I created a template for my nodes of type "article" node--article--full.html.twig
I want to create a template to customize the form for creating and modifying article type nodes. But I can not find a name suggestion for my template. Why is there no suggestion for the form ?
I have tried the template below but the form content does not appear.
What breakpoints I supposed to declare inside the breakpoints.yml?
Only the breakpoints which image's change, so I have two, one for mobile and on for desktop and wright the rest media queries inside the responsive image style style with srcset or all of them?