Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
render system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
21 May 2015 at 18:43 UTC
Updated:
8 Jun 2015 at 12:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
wim leersComment #2
wim leersFor completeness: this is the part that neither Fabianx nor I know what purpose its serves.
To the best of my knowledge, it is related to #2352155-64: Remove HtmlFragment/HtmlPage, but I can't tell if it's truly (still) necessary.
If it passes, it isn't necessary anymore. If it doesn't pass, it is, and we can investigate :)
Comment #3
wim leersTests passed; this is good to go.
Comment #4
dawehnerHow the
Comment #5
dawehner.
Comment #6
fabianx commentedUhm, so why do we not remove the @cache_contexts_manager here as well?
Comment #7
tim.plunkettThat elementInfo line is supposed to add in the defaults for the
'#type' => 'html'element, see \Drupal\Core\Render\Element\Html::getInfo():Additionally, someone could alter the definition and add their own #pre_render or something...
Comment #8
fabianx commentedComment #9
fabianx commented#7: Correct, but Renderer::doRender() does that already for us automatically, so we should not need to special case that. We don't need to special case it anywhere else in core.
Comment #10
wim leersComment #11
fabianx commentedA new patch removing the context definition as well.
Comment #12
fabianx commentedAlright, Wim wins! :)
Comment #13
dawehner... Now that we remove the usages, YEAH, let's also drop the use statements ...
Comment #14
wim leersDone, plus one more unused use statement.
Comment #15
wim leersComment #18
wim leersTestbot--
Comment #19
alexpottCommitted 83b9aa8 and pushed to 8.0.x. Thanks!
Thanks for adding the beta evaluation to the issue summary.