diff --git a/colorbox.module b/colorbox.module index 01bdf67..30d823e 100644 --- a/colorbox.module +++ b/colorbox.module @@ -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' => '' . t('For token support the token module must be installed.', array('@token_url' => 'http://drupal.org/project/token')) . '', - '#states' => array( - 'visible' => array( - ':input[name$="[settings_edit_form][settings][colorbox_caption]"]' => array('value' => 'custom'), - ), - ), - ); - } return $element; }