Closed (fixed)
Project:
Drupal core
Version:
8.6.x-dev
Component:
theme system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Apr 2018 at 22:19 UTC
Updated:
17 May 2018 at 12:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
donquixote commentedFor a start, I simply copied the description and type from the method.
Maybe we could document it more specific than
@var array?Comment #3
donquixote commentedBtw what's the best way to name a property here in the issue queue?
ActiveTheme->librariesExtend
ActiveTheme::$librariesExtend (This could be mistaken for a static property)
or something else?
Comment #4
borisson_#3, no idea - I usually go for the second.
#2 looks solid
Comment #5
alexpottSince there is a getter that returns this \Drupal\Core\Theme\ActiveTheme::getLibrariesExtend() I don;t think we should go to the trouble of BC - this property was never intended to be public. Also this is a really an internal of how LibraryDiscovery works so the API for this is adding stuff to your theme,info.yml and seeing it happen.
Committing only to 8.6.x because technically it is an API change. Just not one that has any likely impact.