Problem/Motivation
The help text of the Layout Discovery module does not quite follow the Help text standards as described in https://www.drupal.org/help-text-standards. It misses a section to describe the Uses.
The use of Drupal::url()
has been deprecated and needs to be replaced as well.
See #2868989: Replace calls of the deprecated Drupal::url() from update.module for details.
Proposed resolution
Editing the text according to the standard.
Remaining tasks
- Edit the Uses descriptions
- Replace Drupal::url()
User interface changes
This is a UI text change.
Comment | File | Size | Author |
---|---|---|---|
#16 | afterPatch.PNG | 52.11 KB | Aanal.addweb |
#14 | edit_hook_help_text_for-2861846-14.patch | 2.66 KB | dhruveshdtripathi |
#13 | Help #10.2.png | 159.09 KB | Aanal.addweb |
#12 | layout_discovery_help.png | 132.61 KB | dhruveshdtripathi |
#11 | interdiff.txt | 1.48 KB | gaurav.kapoor |
Comments
Comment #2
DuaelFrFixing event tag :)
Comment #3
jarodriguez CreditAttribution: jarodriguez as a volunteer and at La Drupalera by Emergya commentedComment #4
jarodriguez CreditAttribution: jarodriguez as a volunteer and at La Drupalera by Emergya commentedAdded uses cases in hook_help
Comment #5
Aanal.addweb CreditAttribution: Aanal.addweb at AddWeb Solution Pvt. Ltd. commented@jarodriguez, Thanks for the updated patch, it works well. I checked it via simplytest.me & also attached the images of results.
Comment #6
Aanal.addweb CreditAttribution: Aanal.addweb at AddWeb Solution Pvt. Ltd. commentedComment #7
ifrikThanks a lot!
Just two small changes:
We should mention in the About section that this module does not provide a UI - so that people don't look for it in vain.
An some nitpicking: Could you change "It's" to "It is", and change the "!" in Using an alternative class to a simply "."?
Since this is an experimental module, we should then check with the developers of the Layout module whether there is anything else that's not obvious, but should be covered here.
Comment #8
jarodriguez CreditAttribution: jarodriguez as a volunteer and at La Drupalera by Emergya commentedFix comments on #7
Comment #9
jarodriguez CreditAttribution: jarodriguez as a volunteer and at La Drupalera by Emergya commentedComment #10
Aanal.addweb CreditAttribution: Aanal.addweb at AddWeb Solution Pvt. Ltd. commented@jarodriguez, Thanks for the updated patch, but i found some issues from it.
1) there is one typo in "Regiastering dynamic layouts using derivatives"
2) Make line after period should be consistent for all sub titles of Uses section
i.e. "Using an alternate 'class'."
Comment #11
gaurav.kapoor CreditAttribution: gaurav.kapoor at OpenSense Labs commented10.1 Fixed. @dhwani.addweb can use explain your 2nd point again.Thanks!. Should " \'theme\'' " this kind of words also be replaced with 'theme' or "theme".
Comment #12
dhruveshdtripathi CreditAttribution: dhruveshdtripathi at DevsAdda for OpenSense Labs commentedDidn't understand suggestion #10.2
10.1 is fixed. Changing status to RTBC till the point #10.2 gets clear.
Comment #13
Aanal.addweb CreditAttribution: Aanal.addweb at AddWeb Solution Pvt. Ltd. commented@dhruveshdtripathi & @gaurav.kapoor, thanks for providing your reviews & patch, i attached the file please kindly review it i hope it gives some idea for #10.2.
Let me know if i'm wrong.
Comment #14
dhruveshdtripathi CreditAttribution: dhruveshdtripathi at DevsAdda for OpenSense Labs commentedRemoved the peroid. Thank you @dhwani.addweb for noticing this.
Comment #16
Aanal.addweb CreditAttribution: Aanal.addweb at AddWeb Solution Pvt. Ltd. commented@dhruveshdtripathi, Thank you for your patch, it works well for me. I tested it by simplytest.me & PFA.
Comment #17
ifrikCan somebody involved with the development of the Layout module please check whether this documentation covers all functionality?
Comment #18
tim.plunkettlayout_plugin appears several times here but that is not a term used by core.
Please remove this, it's highly speculative and not really in scope
Furthermore, this module actually does none of these things. It's all done by the Layout API which is not in any module.
This module only exists until the API is stable and the "glue code" functionality can be moved to system.module.
Comment #19
ifrikThanks Tim,
jarodriguez do you got time to continue working on this?
Comment #20
ifrikComment #21
ifrikThe use of
Drupal::url()
has been deprecated and needs to be replaced as well.See #2868989: Replace calls of the deprecated Drupal::url() from update.module for details.
Comment #24
tim.plunkett