Not to be confused with #724392: Use field names (rather than labels) on overview page

If you have two fields that use the same label but have different field name you can't tell which is which on the permission page.

#5 1450514-5-field_permissions-permission_page_label.patch3.49 KBDavid Stosik
PASSED: [[SimpleTest]]: [MySQL] 296 pass(es). View
#3 1450514-3-field_permissions-permission_page_label.patch1.94 KBDavid Stosik
FAILED: [[SimpleTest]]: [MySQL] 291 pass(es), 5 fail(s), and 0 exception(s). View
Members fund testing for the Drupal project. Drupal Association Learn more


mrfelton’s picture

I agree with this. Also a problem when you are exporting permissions into features. It's very hard to know which field is which when you have several fields with the same label.

dynamicdan’s picture


Our labels are massive (in german).. Showing the machine name would be very nice and de-clutter the field permissions table.

David Stosik’s picture

Status: Active » Needs review
1.94 KB
FAILED: [[SimpleTest]]: [MySQL] 291 pass(es), 5 fail(s), and 0 exception(s). View

Here is my try.

Create own value for field field_image
This field appears as: "Node:Article:Image", "Node:Page:Page main Image".

I use the field name in first line, then list in description all appearances of the field, using format "Entity:Bundle:Field label".
Feel free to review attached patch.



This patch is part of the #1day1patch initiative.

Status: Needs review » Needs work

The last submitted patch, 1450514-3-field_permissions-permission_page_label.patch, failed testing.

David Stosik’s picture

Status: Needs work » Needs review
3.49 KB
PASSED: [[SimpleTest]]: [MySQL] 296 pass(es). View

Sorry, forgot about the tests.

mariacha1’s picture

Issue summary: View changes
Status: Needs review » Fixed

Nice patch! Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.