- last update
over 1 year ago Composer require failure
The fieldSettingsFormValidate
method is set as the element_validate
handler on each instance of the targetTypeFieldSettingsForm
(i.e. once for each target entity type). If there are N such types in play, then the validation handler is called N times. The validation handler does not process one type at a time but loops on the N types. Thus, the validation is done N times for each of the N types.
Preparation: add debug output to fieldSettingsFormValidate
using whatever method suits you.
Add a DER field to a content entity type.
Edit the field settings.
Save the form.
Inspect the debug output to confirm N calls to the validation handler.
Move the element_validate
setting to the main setting form definition. See patch.
None.
None.
None.
None.
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.