Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
asset library system
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
14 Apr 2015 at 13:51 UTC
Updated:
29 Apr 2015 at 16:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dpovshed commentedThe patch attached
Comment #2
wim leersNothing to remark. Perfect. Thank you! :)
Comment #3
wim leersComment #4
alexpottLet's inject this.
Comment #5
wim leers#4: heh… that's exactly what I considered pushing back this issue for, but… this will likely go away with #2389735, see #2389735-124: Core and base theme CSS files in libraries override theme CSS files with the same name. Hence it didn't seem like it was so bad if this is using
\Drupal::service()temporarily, it'd avoid us from having to add a lot of boilerplate here, only to remove it later.Comment #6
dpovshed commentedThank you guys for your feedback!
BTW while I look for replacement for function drupal_basename(), I checked 2 places:
1) source of the function going to be obsoleted;
2) changerecord for the function here https://www.drupal.org/node/2418133
If we expecting more optimal replacement from core and module contributors, I think it may have sense to update change records. Thanks!
Comment #8
alexpott@Wim Leers okay - let's not handle the injection here - I agree that adding it to remove it later does not make sense.
This issue is a normal bug fix, and doesn't include any disruptive changes, so it is allowed per https://www.drupal.org/core/beta-changes. Committed 8bb0609 and pushed to 8.0.x. Thanks!