function _lang_dropdown_get_ddslick_skins in Language Switcher Dropdown 7.2
Same name and namespace in other branches
- 8.2 lang_dropdown.module \_lang_dropdown_get_ddslick_skins()
Helper function to handle ddSlick skins data.
2 calls to _lang_dropdown_get_ddslick_skins()
- lang_dropdown_block_configure in ./
lang_dropdown.module - Implements hook_block_configure().
- lang_dropdown_form in ./
lang_dropdown.module - Function to build the select widget form.
File
- ./
lang_dropdown.module, line 966 - Language dropdown select module main file.
Code
function _lang_dropdown_get_ddslick_skins() {
$module_path = drupal_get_path('module', 'lang_dropdown');
return array(
'ddsDefault' => array(
'text' => t('Default skin'),
'file' => $module_path . '/ddslick/ddsDefault.css',
),
'ddsDark' => array(
'text' => t('Dark skin'),
'file' => $module_path . '/ddslick/ddsDark.css',
),
'ddsBlue' => array(
'text' => t('Blue skin'),
'file' => $module_path . '/ddslick/ddsBlue.css',
),
'custom' => array(
'text' => t('Custom skin'),
'file' => '',
),
);
}