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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

voleger created an issue. See original summary.

voleger’s picture

Issue summary: View changes
voleger’s picture

Status: Active » Needs review
FileSize
3.12 KB
voleger’s picture

The last submitted patch, 3: unique_token_handling-2884419-3.patch, failed testing. View results

voleger’s picture

Oops typo. Type should be boolean

Status: Needs review » Needs work

The last submitted patch, 6: unique_token_handling-2884419-6.patch, failed testing. View results

voleger’s picture

I'm not sure about correct 'status' settings from b4873f3 because of there no schema info about.

voleger’s picture

Just trying without status settings.

voleger’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 9: unique_token_handling-2884419-9.patch, failed testing. View results

voleger’s picture

Anonymous’s picture

Re-rolled patch against latest dev.

No interdiff since it's same code, just updated line numbers.

Neslee Canil Pinto’s picture

Status: Needs review » Closed (duplicate)