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>',
);
CommentFileSizeAuthor
#1 gigya-token-list-element-2212565-1.patch942 bytesj.c.gram
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

j.c.gram’s picture

This patch should resolve the issue.

j.c.gram’s picture

Issue summary: View changes

  • gambaweb committed f98d3be on 7.x-4.x
    by j.c.gram, Gambaweb : Issue #2212565 Changed token list display
    
gambaweb’s picture

Status: Active » Closed (fixed)

thanks.