Closed (fixed)
Project:
Drupal core
Version:
8.2.x-dev
Component:
field_ui.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Jan 2015 at 10:53 UTC
Updated:
18 Jul 2016 at 10:54 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #1
mayurjadhav commentedI have implemented the changes in manage display of all entities.
please find the patch.
Thanks,
Mayur Jadhav.
Comment #2
chris_h commentedManually tested and works as expected - nice simple usability improvement
Comment #3
amateescu commentedThe same link and text is displayed if you go to the 'Manage form display' tab, which is not good :) Over there we need to change the link and the text to "Manage form modes".
Comment #4
mayurjadhav commentedI have created a new patch with different display context modes.
Comment #5
mayurjadhav commentedComment #8
amateescu commentedYou can not do string concatenation like this in the t() function, any dynamic string has to be sent as a parameter, as explained in https://api.drupal.org/api/drupal/core!includes!bootstrap.inc/function/t/8 and https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Utility!Stri....
Also, instead of trying to do everything in the base class, it would be cleaner if you provide the element like this:
provide an abstract method
getDisplayModesLink()in the base class and implement it in each extending class with the proper titles and urls.Comment #9
amateescu commentedThis also needs a sign-off from someone in the usability team to decide if it's a good thing to do or not. The issue is already tagged so we just need to wait :)
Comment #10
mayurjadhav commentedAs I'm new in drupal 8 sorry for my poor coding.
I'll provide a proper patch with drupal 8 coding standards.
Comment #11
vbouchetThis ticket seems related.
Comment #12
vbouchetComment #14
yoroy commentedComment #15
yoroy commentedComment #16
marcoscanoComment #17
marcoscanoPatch attached refactors #4 and implements the suggestions from #8.
Comment #19
pguillard commentedComment #21
pguillard commentedI guess we know already the routes names, why not use them explicitly ?
I found that trying to get a way to pass the tests.
and
Comment #22
artusamakComment #23
artusamakThe patch looks OK to me. I've tested it and it works as expected.
I just attached a patch to remove some unwanted line breaks and rephrased the abstracted method.
Comment #24
swentel commentedShould probably be something like 'Provide link to manage display modes.'
Comment #25
pguillard commentedUpdate with suggestion at #24
Comment #26
ifrikThanks,
on the Manage display page in Custom display settings section, there is now a link
Manage view modes, and on the Manage form display there isManage form modes.Both provide simply links for users who want to use additional form or view modes, and first checked whether there already is a suitable one that only needs enabling. This is also useful for users who were not aware that they can create additional modes.
Comment #27
ifrikScreenshots:
Comment #29
catchLooks good to me, I had trouble finding that page just last week.
Fixed these on commit.