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 plugin manager sets and alter info, but this isn't used because the factory is not alter compatible.
Steps to reproduce
* Implement hook_sidebar_info_alter
* use it to change the class of a plugin
* Note the class is never invoked
Proposed resolution
Don't override the default factory
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#2 | 3177018.patch | 410 bytes | larowlan |
Comments
Comment #2
larowlanComment #4
akalata CreditAttribution: akalata at Tag1 Consulting commented