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.
Have a content type plugin that has hundreds of subtypes.
All the subtypes are loaded when content types are rendered so this gets very expensive.
It'd be useful to return ArrayAccess/Iterator for these to reduce performance/memory requirements on rendering and listing, but the code currently casts everything to array.
Patch coming up.
Comment | File | Size | Author |
---|---|---|---|
#2 | ctools_array_access-2459281-2.patch | 1.12 KB | indytechcook |
#1 | ctools_array_access_2459281.patch | 1.13 KB | catch |
Comments
Comment #1
catchAnd the patch.
Comment #2
indytechcook CreditAttribution: indytechcook at Tag1 Consulting commentedRe-rollled patch