Problem/Motivation
There is no posibility to disable generating unique token per entity field in view mode. Only globaly.
What does this mean? If you even configure the field to use the custom token, it isn't possible to create a single gallery from view with the pager.
Proposed resolution
Extend field formatter to handle additional option.
User interface changes
User will have an ability to disable generating unique token from field formatter settings form using checkbox.
API changes
The default behavior (unchecked checkbox) will not have an effect on previous default behavior. Only checked checkbox will disable generating the unique token for the related field.
It requires additional settings option for the field formatter.
Data model changes
This require update colorbox.schema.yml to one additional field.
Comment | File | Size | Author |
---|---|---|---|
#13 | field_gallery_unique_token_disable-2884419-13.patch | 2.43 KB | Anonymous (not verified) |
Comments
Comment #2
volegerComment #3
volegerComment #4
volegerComment #6
volegerOops typo. Type should be boolean
Comment #8
volegerI'm not sure about correct 'status' settings from b4873f3 because of there no schema info about.
Comment #9
volegerJust trying without status settings.
Comment #10
volegerComment #12
volegerComment #13
Anonymous (not verified) CreditAttribution: Anonymous at Cheeky Monkey Media commentedRe-rolled patch against latest dev.
No interdiff since it's same code, just updated line numbers.
Comment #14
Neslee Canil Pinto