@@ -176,16 +176,31 @@ class ColorboxFormatter extends ImageFormatterBase implements ContainerFactoryPl
),
),
);
$element['colorbox_token_gallery']=array(
'#type'=>'fieldset',
'#title'=>$this->t('Replacement patterns'),
'#description'=>'<strong class="error">'.$this->t('For token support the <a href="@token_url">token module</a> must be installed.',array('@token_url'=>'http://drupal.org/project/token')).'</strong>',
'#description'=>'<strong class="error">'.$this->t('For token support the <a href="@token_url">token module</a> must be installed.',array('@token_url'=>'http://drupal.org/project/token')).'</strong>',
@@ -212,16 +227,31 @@ class ColorboxFormatter extends ImageFormatterBase implements ContainerFactoryPl
),
),
);
$element['colorbox_token_caption']=array(
'#type'=>'fieldset',
'#title'=>$this->t('Replacement patterns'),
'#description'=>'<strong class="error">'.$this->t('For token support the <a href="@token_url">token module</a> must be installed.',array('@token_url'=>'http://drupal.org/project/token')).'</strong>',
'#description'=>'<strong class="error">'.$this->t('For token support the <a href="@token_url">token module</a> must be installed.',array('@token_url'=>'http://drupal.org/project/token')).'</strong>',