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
\Drupal\ds\Plugin\DsField\Field
has a lot of complex code to deal with constructing some wrapper.
This has a couple of issues:
- Hard to maintain code
- XSS filter will be run on it, so there are limited HTML tags allowed
Proposed resolution
- Use an inline template, which does the escaping automatically
- Note: this was agreed on by talking with Alex
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#13 | 2820599-13.patch | 2.91 KB | bceyssens |
#10 | interdiff.txt | 401 bytes | dawehner |
#10 | 2820599-10.patch | 2.03 KB | dawehner |
#6 | 2820599-6.patch | 2.03 KB | dawehner |
#2 | 2820599-2.patch | 2.4 KB | dawehner |
Comments
Comment #2
dawehnerComment #6
dawehnerHere is a reroll.
Comment #10
dawehnerHere is a small bug fix :)
Comment #12
aspilicious CreditAttribution: aspilicious commentedAlmost ;)
Comment #13
bceyssensComment #16
bceyssens