I have created a form with two fields in which one is a radio button field and another is a hidden field which has #prefix and #suffix to define a custom "DIV".
Based on the radio button selection I am able to append data to the custom "DIV" using ajax calls. In addition to that I also want the "DIV" to have its own default value predefined. How can I do that ?
We are currently working on our first Drupal site ever. We are almost ready to go in production, but we are facing a small but annoying problem. It seems like the breadcrumb is cached and I don't know how to avoid this.
The problem:
If you browse between the pages from the left-navigation, the breadcrumb isn't changing anymore after the first click. But if you click on page the is a level deeper, then it changes again.
i have been looking for a way to remove image field attributes in drupal 8 site-wide. I tried using some preprocess functions in themename.theme file using below samples.
I've been working for a while on developing a theme that would work well with Phase2's Pattern Lab Starter (PLS) (https://github.com/phase2/pattern-lab-starter) in the sense that it would use the PLS' tool set and task running scripts to develop a single shared css file for both Drupal and Pattern Lab.
Initially I settled on the Boron theme for my base theme which applied HTML5 elements to the site but had such a slim CSS file that it could easily be replaced with the one produced by PLS.