Working in 8.x (beta3 still) I am trying to fix up a contrib module, it implements custom blocks, that block should use the associated custom template (located in the module's templates folder. I cannot seem to figure out how to have it load/render using that template if it is in "/templates/" however, if I copy it to "/templates" it works just fine. In the module file, I only have a hook_page_attachments.
If additional info is needed please let me know, I have twig debug, devel, and devel kint loaded as well to assist with troubleshooting/debugging.
Is there a way to completely disable js caching in drupal 8? Every time I make a small change I need to clear drupal and browser cache a billion times before I can see it.
There are (working) solutions to send emails with attachment in D7 . For ex. those described with mimemail here. I have implemented those in D7 few time in custom modules.
What would be the alternative with D8 as there does not seems to be any module for mime mail handling or mail system?
Tried many possible configurations so far without success.
Any suggestion or guidance here will be much appreciated.
I'm trying to theme my menu by modifying the Template "menu.html.twig".
I'd like to change to way the link is made but I have the following problem : the Template uses a function "Link" to create the a tag, and when I want to replace it by my own tag I cannot have access to the description information. I have item.title and title.url, but nothing else that match the description you enter in the administrative panel form ?!
Even when looking at the description of the Link function, I cannot see how I can do.