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.
If you place several node fields on panelizers content, then several identical incidents are passed to the page with drupal settings:
function _radioactivity_register_emitter($storage = NULL, $entity_type = NULL, $bundle = NULL, $field_name = NULL, $language = NULL, $entity_id = NULL, $settings = NULL) {
static $cache = array();
...
@$cache['emitDefault'][] = _radioactivity_prepare_incident($incident);
}
I propose to identify incidents with their checksum and don't dup them.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2502957-radioactivity-dont_dup_incidents-1.patch | 500 bytes | AndreyMaximov |
Comments
Comment #1
AndreyMaximov CreditAttribution: AndreyMaximov at FFW commentedComment #2
AndreyMaximov CreditAttribution: AndreyMaximov at FFW commentedComment #3
AndreyMaximov CreditAttribution: AndreyMaximov at FFW commentedComment #5
Sutharsan CreditAttribution: Sutharsan at LimoenGroen commented