I'd like, in my code, to be able to trigger a layout instead of doing it in the UI. This gives the flexibility to change layouts based on dynamic data (which isn't always usable in the UI).
This would be the layouts equivalent of a page template suggestion in Drupal 7, I suppose.
Is there a preprocess function or something else I can use to change the layout that's used?
Recent comments
perfect, thank you
Edit Node fields
Component ID can be found here:
Edit Node fields
Hey there, and thank you for the response. As for sending the email, yes, I am using the email functionality of webform. I was wondering where I could find the component ID of the field? Or...
Edit Node fields
Implemented this and it's working in the one place I know I needed it (will keep an eye out to see if it's working everywhere). HOWEVER, as you suspected, it does NOT show the template...
Which hook to reintroduce removed views templates?
Wow, this is amazing...I didn't expect such an indepth answer, but I really appreciate it. I'll give this a try today and let you know what turns out...
Which hook to reintroduce removed views templates?