Problem/Motivation

On the global field settings tab for a field it says, for example: "These settings apply to the Other tags field everywhere it is used. These settings impact the way that data is stored in the database and cannot be changed once data has been created."

The first part of that text says "everywhere it is used". It's difficult to know where a field is re-used/shared. Perhaps people get used to seeing that warning, and just proceed to change their settings even when they might regret it.

Also, it uses the Label for that field, which is unique to the field instance. So it could be interpretted as: oh, I only have one field called Other tags. My other tags field is called Tags, so I'm ok to change things here.

Proposed resolution

Be specific about where the field is shared and use the machine name instead/in addition to the Label.

For example:
"These settings apply to the field_tags field everywhere it is used: Other tags in Basic page, Tags in Article. These settings impact the way that data is stored in the database and cannot be changed once data has been created."

Remaining tasks

  • discuss approach
  • Implement the change, provide patch
  • review patch
  • rinse and repeat
  • A screenshot with the fix would be nice.

User interface changes

Yes. See above to improve text of global field settings tab.

API changes

Making a re-usable API to get a list of places a field is shared seems helpful.

Related issues

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

YesCT’s picture

sun’s picture

We cannot list all instances of a field, because there simply can be too many instances. As in, hundreds.

However, we can link the "everywhere it is used" phrase to the Field UI report page on admin/reports/fields.

swentel’s picture

Status: Active » Closed (duplicate)

Marking duplicate of #1953672: Make "These settings apply to the field everywhere it is used" clearer - which has a patch and more discussion.

I'm also with sun that just a link to the admin/reports/fields page might probably be better, and that's how yoroy also feels in the other issue.