function views_timelinejs_settings_form in Views TimelineJS integration 7.3
Admin settings menu callback.
See also
1 string reference to 'views_timelinejs_settings_form'
- views_timelinejs_menu in ./
views_timelinejs.module - Implements hook_menu().
File
- ./
views_timelinejs.module, line 246 - Views TimelineJS API, theming, libraries, etc.
Code
function views_timelinejs_settings_form() {
$form['views_timelinejs_library'] = array(
'#type' => 'radios',
'#title' => t('TimelineJS library location'),
'#description' => t('If serving the files from a local path, the library MUST be located in sites/all/libraries/TimelineJS3. See the module README file for more information.'),
'#options' => array(
'cdn' => t('NU Knight Lab CDN'),
'local' => t('Local path (sites/all/libraries)'),
),
'#default_value' => variable_get('views_timelinejs_library', 'cdn'),
);
return system_settings_form($form);
}