Hi everyone.

I've added 3d-party setting to field by implementing MY_MODULE__form_field_config_edit_form_alter hook and using $form['third_party_settings'] and it works well.

But also I want to add extra-setting to field instance.
For example. I've added checkbox for image field like 'Add CSS class to image'. And when I create node that have this field I want to see textfield for CSS class in field widget and save it value in 3d-party settings for this instance.
How can I do this?

Best regards.