Custom formatters multiple input fields

When creating the custom module, I need something like the screenshot. Can you share an example for this?

image
so I need to be able to send more than one variable.

Community Page
Last updated: