Commit d7a4de76 authored by spacetaxi's avatar spacetaxi Committed by frjo
Browse files

Issue #1947796 by spacetaxi: Views: Replacement patterns and node tokens are...

Issue #1947796 by spacetaxi: Views: Replacement patterns and node tokens are not replaced in caption
parent a9a2bd7b
......@@ -368,7 +368,7 @@ function colorbox_field_formatter_settings_form($field, $instance, $view_mode, $
'#type' => 'fieldset',
'#title' => t('Replacement patterns'),
'#theme' => 'token_tree',
'#token_types' => array($instance['entity_type'], 'file'),
'#token_types' => array_merge(array_keys($field['bundles']),array('file')),
'#recursion_limit' => $recursion_limit,
'#dialog' => TRUE,
'#states' => array(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment