From 8c4e7b42832a4103274a00a0c180778955d3683e Mon Sep 17 00:00:00 2001 From: laryn Date: Thu, 3 Feb 2022 11:02:47 -0600 Subject: [PATCH] Issue #6: Remove notice about installing token module. Fixes #6. --- colorbox.module | 12 ------------ 1 file changed, 12 deletions(-) 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; }