Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
29 Oct 2015 at 16:02 UTC
Updated:
17 Nov 2015 at 20:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
benjamin.merkley commentedComment #3
jhodgdonAh. So it looks like we need to change the docs header in block.html.twig, where it says:
- module: ...
to
- provider: ...
(under the "configuration" item in available variables section).
Good novice issue.
And by the way there are unfortunately 3 block.html.twig files that need this update :(
Comment #4
krknth commentedNot sure, But might be changed in following all places. suggest!
changed from 'module' to 'provider', do we need to change description too ?
Comment #5
benjamin.merkley commentedQuestion as well, Is there any way I can call the region that block is in using twig?
Comment #6
jhodgdonRE #5, this is now a Documentation bug. Please look elsewhere for programming support. Thanks! There are several support options listed if you click on "Support" at the top of Drupal.org, which will take you to:
http://drupal.org/support
There you can find out about the Drupal IRC channels, and the Forums, which are our two main support mechanisms in the Drupal community. You might also try http://drupal.stackexchange.com/
Good luck with your question!
----
So that aside, the patch looks good to me... though you're right, maybe we should change the description. A block can (theoretically) be provided by a module, installation profile, theme, or "core". So we should probably say something about that. Maybe just "module or other provider" ?
Comment #7
krknth commentedUpdated
Comment #10
jhodgdonThanks! Lastest patch looks fine. Test failure was due to a bunch of tests getting aborted by ... who knows what/why/whom.
Comment #11
star-szr+1, thanks!
Comment #12
wim leersHrm, this made me realize that the
cacheline just below each of the modified lines is also completely obsolete: we need to remove those lines too.IMO it makes sense to do that here?
Comment #13
star-szrSure, so it sounds like we just need to remove those parts? Unassigning, @krknth if you have time to pick this up feel free to reassign.
Comment #14
wim leersYep, just remove those parts.
Comment #15
anil280988 commentedRemoved Cache parts.
Comment #16
anil280988 commentedChanging status
Comment #17
krknth commented@anil280988 : Thanks!
Comment #18
wim leersYou forgot this one.
Comment #19
krknth commentedI'm working on
Comment #20
krknth commented@anil280988 : your removed module, but not added provider ? any reason ?
Comment #21
krknth commentedAdded patch & interdiff for #7 - #21
Comment #22
krknth commentedComment #23
wim leers#21 is identical to #7, which was RTBC'd in #10, but now with the additional deletions I requested in #12. Which makes this RTBC again :)
Thanks!
Comment #25
alexpottCommitted d0b0b4a and pushed to 8.0.x. Thanks!
Comment #27
alexpottComment #28
benjamin.merkley commentedOutputting {{configuration.provider}} in the block.twig.html file works for most blocks, but doesn't appear to work with the Main Navigation block.
Comment #33
wim leersTestbot's lagging.