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.
According to Twitter, the following card types are deprecated:
- Product Cards: Users should use Summary cards.
- Gallery Cards and Photo Cards: Users should use the Summary Card with Large Image type.
Not sure if you have already removed these card types from the 8.x version, etc. but it looks like they've been deprecated for 18 months at this point.
Comment | File | Size | Author |
---|---|---|---|
#13 | metatag-n2827909-13.patch | 8.17 KB | DamienMcKenna |
| |||
#11 | metatag-n2827909-11.patch | 718 bytes | DamienMcKenna |
| |||
#5 | remove_deprecated-2827909-5.patch | 4.62 KB | cebasqueira |
| |||
#3 | edit_remove_deprecated-2827909-3.patch | 3.79 KB | cebasqueira |
Comments
Comment #2
cebasqueira CreditAttribution: cebasqueira at CI&T commentedComment #3
cebasqueira CreditAttribution: cebasqueira at CI&T commentedComment #5
cebasqueira CreditAttribution: cebasqueira at CI&T commentedSmall changes on patch!
Comment #6
cebasqueira CreditAttribution: cebasqueira at CI&T commentedComment #7
DamienMcKennaThanks for putting that together.
These needs update scripts to do a few things:
FYI in metatag.install you can find metatag_update_replace_entity_value() and metatag_update_replace_config_value() which can be used to do the first fix, see metatag_hreflang.install for some example usage.
Comment #8
DamienMcKennaComment #9
DamienMcKennaComment #10
DamienMcKennaLet's get this into the v2 release.
Comment #11
DamienMcKennaMost of the changes went into #3132066: Remove deprecated Twitter Card tags (D7) so all that's left is the card type values.
Comment #12
DamienMcKennaNeeds an update script to fix the entity values and configuration:
* Product Cards: switch to Summary Card.
* Gallery Cards and Photo Cards: switch to Summary with Large Image card.
Comment #13
DamienMcKennaUpdate scripts.
Comment #14
DamienMcKennaComment #16
DamienMcKennaCommitted.
Comment #18
DamienMcKenna