Contents tagged with #drupal-8
- blog An easier way to get the current node in a block plugin in Drupal 8 5-Jan-2020
A long time in a galaxy far away... Not really. But it is over a year since I wrote how to get the current node in a block plugin and promised to write a...
- blog Open content in new tab with an image formatter 6-Oct-2019
One of my sites has a listing of content shown as teaser. The teaser for this content type is defined to show the title, an image, and a few other fields. In...
- blog How to get the current node in a block plugin in Drupal 8 28-Sept-2018
I was trying to build a block plugin in Drupal 8 recently. The requirement was straight-forward. I would show these blocks on node pages of a certain type....
- blog Porting token module to Drupal 8 30-Apr-2016
Discovery I have contributed to Drupal 8 over the course of last couple of years. I have also written custom modules for Drupal 8, but I never really tried...