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 tpl files have default classes that can be used by themes to apply custom configuration. The default classes are not used in the video-embed-field-embed-code.tpl.php file, which makes it more difficult to apply custom markup to embedded video's.
Proposed resolution
Apply the default template classes to video-embed-field-embed-code.tpl.php while keeping the current markup, so the change does not cause any regressions.
Remaining tasks
- Write a patch
- Review
User interface changes
None
API changes
None
Data model changes
None
Comment | File | Size | Author |
---|---|---|---|
#2 | video_embed_field-apply_template_variables-2599050-1.patch | 1.19 KB | idebr |
Comments
Comment #2
idebr CreditAttribution: idebr commentedApparently attributes is an Omega thing, but classes will do.