Commit a0418395 authored by frjo's avatar frjo
Browse files

Issue #2642152 by Sam152: Remove any left over Drupal 7 code

parent 8626e968
core = 7.x
api = 2
libraries[colorbox][type] = "libraries"
libraries[colorbox][download][type] = "file"
libraries[colorbox][download][url] = "https://github.com/jackmoore/colorbox/archive/1.x.zip"
libraries[colorbox][directory_name] = "colorbox"
libraries[colorbox][destination] = "libraries"
<?php
/**
* @file
* Colorbox translatable variables.
*/
/**
* Implements hook_variable_info().
*/
function colorbox_variable_info($options) {
$variable['colorbox_text_start'] = array(
'title' => t('Colorbox Start slideshow'),
'description' => t('Text for the slideshow start button.'),
'type' => 'string',
);
$variable['colorbox_text_stop'] = array(
'title' => t('Colorbox Stop slideshow'),
'description' => t('Text for the slideshow stop button.'),
'type' => 'string',
);
$variable['colorbox_text_current'] = array(
'title' => t('Colorbox current text'),
'description' => t('Text for the content group / gallery count'),
'type' => 'string',
);
$variable['colorbox_text_previous'] = array(
'title' => t('Colorbox Previous'),
'description' => t('Text for the previous button in a shared relation group.'),
'type' => 'string',
);
$variable['colorbox_text_next'] = array(
'title' => t('Colorbox Next'),
'description' => t('Text for the next button in a shared relation group.'),
'type' => 'string',
);
$variable['colorbox_text_close'] = array(
'title' => t('Colorbox Close'),
'description' => t('Text for the close button.'),
'type' => 'string',
);
return $variable;
}
Markdown is supported
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