FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 75d95cf2 authored by thewilkybarkid's avatar thewilkybarkid
Browse files

Set the CKEditor language to British English

parent d3c3c7e4
No related branches found
No related tags found
No related merge requests found
......@@ -213,7 +213,7 @@ function cambridge_install() {
variable_set('pathauto_transliterate', 1);
// Turn off CKEditor's Advanced Content Filter.
// Set CKEditor settings.
$profiles = db_select('ckeditor_settings', 's')
->fields('s')
......@@ -224,6 +224,10 @@ function cambridge_install() {
foreach ($profiles as $name => $profile) {
$settings = unserialize($profile->settings);
// Set language to English (United Kingdom).
$settings['lang'] = 'en-uk';
// Turn off Advanced Content Filter.
$settings['js_conf'] = 'config.allowedContent = true;';
db_update('ckeditor_settings')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment