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 want to expand a custom field_group of type Detail depending on a field, that is included in a field_group. By default the field_group is collapsed - if the user fills in a value in a specific field the fieldgroup should be exanped.
By looking at the field_group module i found the hook_field_group_pre_render_alter for that purpose.
Unfortunately i don't have access to the form-state in the _alter hook. How can i get the actual form_state in there?
In D8 what parameters dictates which menus appear in the "Parent Item" drop-down in 'Menu Settings'?
In my site I have several menus configured but many are not listed in the drop-down for selection.
I've just run a test migration of a D6 site to D8.
What I notice is that there's a lot of tables with the migrate_map_d6_ prefix and a lot of these are not empty.
Further, the 'users' table and the 'users_....' tables are now gone and it seems the user info have been placed in 'migrate_map_d6_user' and a few 'migrate_map_d6_user_....' tables. The same seems to be the case for url_alias, taxonomy tables, etc.
In Drupal 7 the query string was passed as a value in the form state array. In 8 the query string only seems to appears in the $GLOBAL _GET, there dosnt appear to be anything in the FormStateInterface object. Have I missed something, is there another way to get this information without using _GET. In 7 I used the query string to pass a reference from a list of items to a page that displayed the relevant record in detail.
Hi, I've got module which get posts from facebook and create nodes with data from it but i can't perform cron update this because page which perform this task is cached? Is there any option to disable cache for module, route?