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 created a custom field programatically and installed the module. Upon module installation the field should appear in the add field list. But my field name is not appearing in that list. I have made this after watching tutorials in those tutorials the name is showing but not mine. I am sharing the code kindly tell me what I am doing wrong.
Installed a purchased Drupal theme, which contains custom modules and theme to web/[themes,modules]/contrib/
By default .gitignore web/themes/contrib is excluded so these non-Composer custom mods/themes are excluded from git
How do I move/separate these custom modules/themes from the Composer-managed themes/modules to web/[themes,modules]/custom so I can add them to my git repo?
Working with Drupal 8.6.1 using Context and Group modules. I am trying to conditionally display different main menus in the primary menu block (theme is Bartik) using 2 different contexts, one for Authenticated users and one for anonymous users. I created a basic page to be shown as a menu entry for the authenticated users menu but not for the anonymous users one. When I clicked on 'Back to site' from the admin pages I received the following error