function _sheetnode_ckeditor_settings in Sheetnode 7
Same name and namespace in other branches
- 6 modules/sheetnode_ckeditor/sheetnode_ckeditor.module \_sheetnode_ckeditor_settings()
- 7.2 modules/sheetnode_ckeditor/sheetnode_ckeditor.module \_sheetnode_ckeditor_settings()
Form function for admin/settings/sheetnode/ckeditor.
1 string reference to '_sheetnode_ckeditor_settings'
- sheetnode_ckeditor_menu in modules/
sheetnode_ckeditor/ sheetnode_ckeditor.module - Implementation of hook_menu().
File
- modules/
sheetnode_ckeditor/ sheetnode_ckeditor.module, line 56 - Module file for the sheetnode_ckeditor module. This extends sheetnodes to allow inputting from CKeditor.
Code
function _sheetnode_ckeditor_settings() {
$form['sheetnode_ckeditor_library_path'] = array(
'#type' => 'textfield',
'#title' => t('CKEditor path'),
'#description' => t('Enter the path of the CKEditor package. Full or relative paths should work.'),
'#default_value' => variable_get('sheetnode_ckeditor_library_path', drupal_get_path('module', 'sheetnode_ckeditor') . '/ckeditor'),
);
$form['#validate'][] = '_sheetnode_ckeditor_settings_validate';
return system_settings_form($form);
}