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 have developed a custom module that implements FormBase. I am displaying the form data as an HTML table with a remove button. Everything works well however there is a piece of code in the Twig template that feels hacky and I am looking for the proper implementation of it.
I declare an array of plain_text elements containing the record information like this:
I’m creating a backend search where the results point at not only the page/node the term may be found on, but also the location where the text can be edited by the admins.
The request is a bit difficult to explain, I hope I can do it
I have 3 content types
- Applicant Master
- Master Data Holders (Anagrafica Titolari)
- Movements.
In Applicant Master I have an entity reference field (field_titolare) linked to the Owner Master.
I have set up Private Forums on my site, creating forum containers for each group. We have a requirement to allow authenticated non-group members to view/create/edit forum topics for groups that are not private (group visibility set to Public). By default, private forums restrict access to forum topics to group members only. I tried to implement custom visibility (like this), but still, a non-group member gets the Access Denied page.