function itoggle_variable_info in iToggle 7
Implements hook_variable_info().
File
- ./
itoggle.module, line 171 - iToggle module.
Code
function itoggle_variable_info() {
$variables = array();
$variables['itoggle_path'] = array(
'title' => t('iToggle Path'),
'default' => ITOGGLE_PATH,
'group' => 'itoggle',
'token' => FALSE,
);
$variables['itoggle_compression_type'] = array(
'title' => t('iToggle Compression Type'),
'default' => 'min',
'group' => 'itoggle',
'token' => FALSE,
);
$variables['itoggle_css'] = array(
'title' => t('Include Default CSS'),
'default' => TRUE,
'group' => 'itoggle',
'token' => FALSE,
);
$variables['itoggle_easing'] = array(
'title' => t('Easing'),
'default' => '',
'group' => 'itoggle',
'token' => FALSE,
);
$variables['itoggle_speed'] = array(
'title' => t('Speed'),
'default' => 200,
'group' => 'itoggle',
'token' => FALSE,
);
$variables['itoggle_onclick'] = array(
'title' => t('OnClick callback'),
'default' => '',
'group' => 'itoggle',
'token' => FALSE,
);
$variables['itoggle_onclickon'] = array(
'title' => t('OnClickOn callback'),
'default' => '',
'group' => 'itoggle',
'token' => FALSE,
);
$variables['itoggle_onclickoff'] = array(
'title' => t('OnClickOff callback'),
'default' => '',
'group' => 'itoggle',
'token' => FALSE,
);
$variables['itoggle_onslide'] = array(
'title' => t('OnSlide callback'),
'default' => '',
'group' => 'itoggle',
'token' => FALSE,
);
$variables['itoggle_onslideon'] = array(
'title' => t('OnSlideOn callback'),
'default' => '',
'group' => 'itoggle',
'token' => FALSE,
);
$variables['itoggle_onslideoff'] = array(
'title' => t('OnSlideOff callback'),
'default' => '',
'group' => 'itoggle',
'token' => FALSE,
);
return $variables;
}