This is a small Drupal 8 module that illustrates how we can create our own field formatter plugins.
The end result is an formatter for the image field that displays the image title as a caption.
A Drupal 8 module that creates an image field formatter for displaying a caption
PHP
This is a small Drupal 8 module that illustrates how we can create our own field formatter plugins.
The end result is an formatter for the image field that displays the image title as a caption.