Skip to content

Commit

Permalink
Issue backdrop-contrib#6: Remove notice about installing token module.
Browse files Browse the repository at this point in the history
  • Loading branch information
laryn committed Feb 3, 2022
1 parent b86319c commit 8c4e7b4
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions colorbox.module
Original file line number Diff line number Diff line change
Expand Up @@ -399,18 +399,6 @@ function colorbox_field_formatter_settings_form($field, $instance, $view_mode, $
),
);
}
else {
$element['colorbox_token'] = array(
'#type' => 'fieldset',
'#title' => t('Replacement patterns'),
'#description' => '<strong class="error">' . t('For token support the <a href="@token_url">token module</a> must be installed.', array('@token_url' => 'http://drupal.org/project/token')) . '</strong>',
'#states' => array(
'visible' => array(
':input[name$="[settings_edit_form][settings][colorbox_caption]"]' => array('value' => 'custom'),
),
),
);
}

return $element;
}
Expand Down

0 comments on commit 8c4e7b4

Please sign in to comment.