Searching HEAD for "options_list_callback" finds 3 matches:
- In the field.taxonomy_term_reference.settings portion of taxonomy.schema.yml.
- In TaxonomyTermReferenceItem::defaultSettings(), where it defaults to NULL.
- In TaxonomyTermReferenceItem::getSettableOptions(), where if it exists, it's invoked.

There appears to be no UI that lets you set it. There appears to be no test that tests it.

Meanwhile, in #2238085: [regression] options_allowed_values() signature doesn't allow for Views filter configuration, we're changing the signature of a similar callback for list fields (which include a UI and tests) to support integration with Views filters and arguments. So, we should make a similar change here if it's a setting we want core to continue to provide. Or, should we just remove the setting entirely?

Tagging "beta target" in case we decide to remove it, which is a config schema change.

Comments

xjm’s picture

Version: 8.0.x-dev » 8.2.x-dev
Issue tags: -beta target

This issue was marked as a beta target for the 8.0.x beta, but is not applicable as an 8.1.x beta target, so untagging.

I've moved the issue to 8.2.x since it could be possible to implement this with BC in a minor.

berdir’s picture

Status: Active » Closed (outdated)

TaxonomyTermReferenceItem is history, so I think we can close this.