2

How do I access the global form state of the field instance settings form. hook_field_instance_settings_form only takes two arguments - instance and field.

Use case - Ajax refresh of an options list

1 Answer 1

2

You can't access it directly, what you can do it use #after_build which will be called with the $form_state, but this will happen at a later step.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.