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
The AJAX Link Action plugin uses "AJAX Link" as plugin id. This is against best practice in core, because the plugin id is always a machine name (lowercase a-z with underscores).
Proposed resolution
Rename the plugin id.
Remaining tasks
User interface changes
API changes
Comment | File | Size | Author |
---|---|---|---|
fix-ajax-link-annotation.patch | 654 bytes | webflo | |
Comments
Comment #2
martin107 CreditAttribution: martin107 commentedI agree with the change.....
At first glance you may think the patch caused the test failures.
WITHOUT the patch applied the test fail locally for me in exactly the same way. So that is a thing.
Comment #3
joachim CreditAttribution: joachim commentedYup, the tests are broken :(
Comment #4
martin107 CreditAttribution: martin107 commentedI created an issue for that #2455493: entity bundle caches are not correctly cleared when a flag is created sorry should have provided a link earlier
Comment #5
joachim CreditAttribution: joachim commentedNo problem -- I saw it in the list :) I should have given the link myself in my comment; thanks for taking care of it.
Comment #9
joachim CreditAttribution: joachim commentedTests are fixed; patch passes.
Committed!
Thanks for reporting and working on this.