Skip to main content
34
results
Andrew Fletcher
When you have an entity ID value such as node ID (nid) or taxonomy term ID, how can you create the alias in a twig file?  In other words, instead of /taxonomy/term/{tid} I would like to get the alias I have defined for this, eg: /some/path/to/my/term. In trying to find an answer you might have queried your search criteria using something like twig canonical taxonomy path twig canonical entity path twig canonical node path  How to achieve This is achieved through using the...
Andrew Fletcher
Working in Twig, I had to add classes to a pre-existing array.  Whilst I've...
Andrew Fletcher
A bug bear that I have had for a while with Drupal content is how come the...
Andrew Fletcher
Working in Laravel, I needed to loop through an array and know whether the...