Quick Drupal 8 Theming Tips

Posted January 13th, 2017

If you are theming an entity (in this case, node) and you want to display the created or changed date in a different format, you can use the following to do just that. In my case, I am creating a couple of view modes with their respective twig templates and need to show post dates in a few...


Simple Functions & Snippets

Posted January 12th, 2017

So part of what I want to do this year is write a bit more, and start making more use out of zsh/terminal. While I do have a few books on the subject to help me get a deeper grasp on what is possible, I figured an easy way to start would be to think of common problems I have and apply solutions...