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.
When rebuilding registry information for plugins, _ctools_registry_files_alter() uses cached information, leading in cases where the location of a plugin changes to a registry table pointing to plugins in their previous location.
Comment | File | Size | Author |
---|---|---|---|
#1 | 919866-1_registry_cache_clear.patch | 375 bytes | alex_b |
Comments
Comment #1
alex_b CreditAttribution: alex_b commentedRelies on #911362-3: ctools_get_plugins_reset() to reset all static plugin caches.
Clears caches before rebuilding registry.
Comment #2
neclimdulAs discussed on IRC, this patch is probably built against an older version of ctools that didn't have a fix to ctools_plugin_get_plugin_type_info from sdboyer. That said, if #911362: ctools_get_plugins_reset() to reset all static plugin caches is able to replace the $flush argument for ctools_plugin_get_plugin_type_info, then this patch would probably be preferable.
Comment #3
neclimdulI can't figure out why this would still be needed.