hook_field_formatter_settings_form

function hook_field_formatter_settings_form

hook_field_formatter_settings_form($field, $instance, $view_mode, $form, &$form_state)

Specify the form elements for a formatter's settings.

This hook is only invoked if hook_field_formatter_settings_summary() returns a non-empty value.

Parameters

$field: The field structure being configured.

$instance: The instance structure being configured.

$view_mode: The view mode being configured.

$form: The (entire) configuration form array, which will usually have no use here.

$form_state: The form state of the (entire) configuration for