Commit 54e0639c authored by John C Fiala's avatar John C Fiala
Browse files

Issue # by jcfiala: Fixed how possible tokens are displayed when setting up a...

Issue # by jcfiala: Fixed how possible tokens are displayed when setting up a link field - had been using a variable which was not defined in that scope.
parent f830aa9c
......@@ -125,7 +125,7 @@ function link_field_instance_settings_form($field, $instance) {
'#title' => t('Placeholder tokens'),
'#description' => t("The following placeholder tokens can be used in both paths and titles. When used in a path or title, they will be replaced with the appropriate values."),
);
$entity_info = entity_get_info($entity_type);
$entity_info = entity_get_info($instance['entity_type']);
$token_type = array(
'theme' => 'token_tree',
'token_types' => array($entity_info['token type']),
......
Supports Markdown
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