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.
Problem/Motivation
Compare with 7.x-2.x, implement the same logic.
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#9 | interdiff-2713925-5-9.txt | 10.7 KB | johnchque |
#9 | add_missing_stretch_and-2713925-9.patch | 12.24 KB | johnchque |
| |||
#5 | interdiff-2713925-3-5.txt | 1.2 KB | johnchque |
#5 | add_missing_stretch_and-2713925-5.patch | 9.26 KB | johnchque |
| |||
#3 | add_missing_stretch_and-2713925-3.patch | 9.28 KB | johnchque |
|
Comments
Comment #2
johnchqueComment #3
johnchquePatch added. :)
Comment #4
ArlaBased on a very quick patch read-through (will apply and test asap):
Looks like stretching and aspectration should be "type: string" (label is for translatable/human-readable values), and responsive should be boolean.
.=
Comment #5
johnchqueTotally true. :)
Comment #6
BerdirThis should use Drupal.t()
We can use a #type integer field in 8.x to at least do the numeric validation automatically for us.
Same for the > 0.
required might eventually be dynamic, so that part not.
Should also use $this->t()
Tests would also be great. but I think we are once more blocked on using the cloud player and it is currently not yet possible to set settings then. One of the recent 7.x patches added support for that, so we can finally do that there then.
Comment #7
BerdirComment #8
Berdir#2716735: Validation additions, .install update, and minor cleanups might also have some fixes for this.
Comment #9
johnchqueChanges made based on discussions with @Berdir and comments above. :)
Comment #11
BerdirLooks good, nice.