What is?
https://www.drupal.org/docs/creating-custom-modules/creating-custom-fie…
Field formatters takes the data stored by our field and transforms it into the markup that is sent to the browser when an end user views our site.
How to use?
- Create plugin for field formatter
- If your formatter needs additional settings create schema file for settings