Is there a way to get the input type available as a variable inside the form-element-label.html.twig template in Drupal 8? I've been looking around for a while with no solution. I assume I need to use the template_preprocess_form_element_label function, but I can't figure out how. What I'm really trying to do is have different templates for labels based on what type of input it is.
I am looking for either free or purchasable themes for drupal that have a very good and stylish multiple selection filtering using tags or taxonomy. Of course, I can build something from the ground up but we are on a tight turn around. I thought this theme would work:
I have been wondering how I can edit my website using the same custom theme that users view it in? Each time I log in and then edit the page or refresh it, the theme changes. It goes from being my customer bartik theme to the regular one. It makes editing very difficult.
For instance, here are two pictures. The first picture shows the view when I am logged out. This would be what a user would see. The second picture shows the view when I'm logged in.
I use a Drpal Commerce. I was build my own product display type and named it spa. When I tried to use a node--spa.tpl.php Drupal ignored it. When I checked a node type through a node.tpl.php I have found that type set to article. Yes I really have the article type but I never used it.
How to set the node type as the spa and use the node--spa.tpl.php. Why is this substitution of type occurred at all?