Skip to main content

Author posts

Altering menu links

Let's say that you want to add some HTML code before the menu link text. Maybe you want to insert Font Awesome code or something like that. Unfortunately, there is no easy way to do that out of box in the CMS. But, you can use the hook_link_alter(). Read on to find out more.

Drupal 8 and SVG images

Back in January I worked on a Drupal 8 project. And I needed to use SVG images across multiple content types. Only problem was that Drupal 8 doesn't support SVG images out of the box. So, I had a choice, not use beautiful and scalable SVG images at all or find a solution. Being a Drupal developer and passionate about programming, of course I choose the second option. After I completed module development, I decided that I will share it with the community. Ten months later, SVG Formatter is used on more than 1100 Drupal 8 sites. I'm really proud of this.