Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In #2488554: Automatic registration of CSS files as libraries, libraries can be automatically registered for single 'css' files so that we don't need to have the *.libraries.yml for any of the Display Suite layouts, by switching from the 'library' key to 'css'. Let's do it!
Comment | File | Size | Author |
---|---|---|---|
#1 | ds-layout_plugin-library-2488888-1.patch | 3.72 KB | dsnopek |
Comments
Comment #1
dsnopekThis patch depends on #2488550: Update Display Suite for automatic registration of layout templates, so let's merge that one first.
Comment #2
dsnopeklayout_plugin 1.0-alpha11 has been released:
https://www.drupal.org/node/2499025
So, this patch should be ready to review!
Comment #4
aspilicious CreditAttribution: aspilicious commentedThnx!
Comment #5
aspilicious CreditAttribution: aspilicious commentedGot a couple of test fails.
Pasting the bot link as reminder: https://qa.drupal.org/pifr/test/881633
Comment #7
dsnopekI've been attempt to run the tests locally so that I can try and figure out what's going on. However, I can't seem to figure out how to do it!
Normally, I do something like:
But I keep getting:
Any suggestions? Thanks!
Comment #8
dsnopekEr, heh, I've gotten so used to using PHPUnit with Drupal 8, I almost completely forgot about Simpletest! :-) Sorry for the noise, I figured out how to run the tests.
Comment #9
dsnopekI reverted DS to revision f931cdc (the one before the layout plugin commits) and ran the SimpleTests and I got the same failures. :-/ So, maybe they aren't related to the layout_plugin changes, but changes in D8 core?
Comment #10
aspilicious CreditAttribution: aspilicious commentedOk thnx for the effort. Next week I'll try to debug the fails that looks suspicious to me.