function ckeditor_user_get_setting_default in CKEditor - WYSIWYG HTML editor 7
Get default ckeditor settings
Return value
array
3 calls to ckeditor_user_get_setting_default()
- ckeditor_user_customize in includes/
ckeditor.user.inc - CKEditor - The text editor for the Internet - http://ckeditor.com Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
- ckeditor_user_get_setting in includes/
ckeditor.lib.inc - Return CKEditor settings
- ckeditor_user_presave in includes/
ckeditor.user.inc - Implements hook_user_presave().
File
- includes/
ckeditor.lib.inc, line 417 - CKEditor - The text editor for the Internet - http://ckeditor.com Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
Code
function ckeditor_user_get_setting_default() {
$default = array(
'default' => 't',
'show_toggle' => 't',
'width' => '100%',
'lang' => 'en',
'auto_lang' => 't',
);
// Allow other modules to alter the default settings.
drupal_alter('ckeditor_default_settings', $default);
return $default;
}