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.
The gigya_field_formatter_settings_form in /includes/gigya_field_inc on line 285 uses:
$form['tokens_list'] = array(
'#markup' => theme('token_tree', array('token_types' => array('node'), 'global_types' => FALSE)),
'#suffix' => '</div>',
);
to output the token tree, which doesn't allow other modules to alter this form element before the token tree is rendered. The proposed solution would be to use:
$form['tokens_list'] = array(
'#theme' => 'token_tree',
'#token_types' => array('node'),
'#global_types' => FALSE,
'#suffix' => '</div>',
);
Comment | File | Size | Author |
---|---|---|---|
#1 | gigya-token-list-element-2212565-1.patch | 942 bytes | j.c.gram |
Comments
Comment #1
j.c.gram CreditAttribution: j.c.gram commentedThis patch should resolve the issue.
Comment #2
j.c.gram CreditAttribution: j.c.gram commentedComment #4
gambaweb CreditAttribution: gambaweb commentedthanks.