This is a simple module to show the basics of creating a custom field formatter.
The module includes two formatter plugins to customize the markup output of a simple text field.
For this example I'm just wrapping the field output in <h1>
or <h2>
tags.
The plugins are configured using annotations in the formatter class files.