Setting entity form widgets and view display formatters
When building a custom entity programmatically, you'll find yourself wondering which type of display options to use for your fields. The full list can be easily retrieved with these small helpers snippets.