Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
documentation
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Feb 2015 at 18:23 UTC
Updated:
19 Feb 2015 at 09:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
joelpittetThanks for the clean-up.
This one isn't always an array, sometimes it's an object with ArrayAccess.
All the rest should work.
Comment #3
martin107 commentedAh rats - Backing out the change and updating the documentation.
Other parameter definitions specify array|object -but not many see _drupal_rewrite_settings_global()
Comment #4
joelpittetThanks one more thing, I think.
This needs to stay, it's correct and I wrote it:P
Comment #5
martin107 commented@joelpittet - Can I politely disagree...
The $args @param definition I want to removed relates to twig_without($element) not twig_render_var($arg)
$args is now internal to the function it set from a call to func_get_args()
Comment #6
joelpittet@martin107 yes, twig_without() function, you were there too:)
The main purpose of that function is those $args, because those are what the $element are doing 'without'. That's why they are documented.
https://www.drupal.org/node/2114563#comment-8554679
https://www.drupal.org/node/2114563#comment-8200265
Comment #7
martin107 commentedYou are right, I am complete wrong.
'cuse me while I wipe all that egg of my face :)
Comment #8
joelpittetNo worries, it's not documented in the coding standards, which would be nice.
This looks like a nice doc clean-up.
Comment #9
alexpottDocumentation is not frozen in the beta. Committed e5d8a95 and pushed to 8.0.x. Thanks!