Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
theme system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 Mar 2014 at 08:13 UTC
Updated:
12 Jan 2015 at 20:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dawehnerGiven that the HtmlFragment is a value object this seems doable.
Comment #2
catchThe only use of this is in Views - #2067931: Use the new title method on views pages.
Comment #3
catchComment #4
berdirThat other issue has been closed.
There is still a usage of this left in \Drupal\views\Plugin\views\area\Title, but that second argument that it is passing along does not even exist anymore, so it is broken anyway.
Making active and tagging Novice, remove the file and usage of it in that other class (there is also a left-over use somewhere else).
We then need to verify that title area works as expected and fix it if necessary.
Comment #5
Palashvijay4O commentedA patch .
Comment #6
berdirPatch looks good to me. As mentioned above, the title area plugin might be broken, but this doesn't make it any worse than it already is. But lets confirm this with @dawehner.
Comment #7
dawehnerHa, ViewExecutable::setTitle does not deal anymore with the variable itself.
Later in Page::execute() we use
Xss::filterAdmin()so the title plugin does not seems to be broken.Comment #8
dawehner.
Comment #9
chx commented> Ha, ViewExecutable::setTitle does not deal anymore with the variable itself.
Meaning, this is correct since
ViewExecutable::setTitleispublic function setTitle($title) {doesn't need the second argument any more.Comment #10
webchickCan't quite parse how this is major, but it's removing dead code so it's a legit bug fix.
Committed and pushed to 8.0.x. Thanks!