function ckeditor_user in CKEditor - WYSIWYG HTML editor 6
Implementation of hook_user().
This function delegates the execution to ckeditor_user_delegate() in includes/ckeditor.user.inc to lower the amount of code in ckeditor.module.
File
- ./
ckeditor.module, line 82 - CKEditor - The text editor for the Internet - http://ckeditor.com Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
Code
function ckeditor_user($type, $edit, &$user, $category = NULL) {
if ($type == 'form' && $category == 'account' && user_access('access ckeditor') || $type == 'validate') {
module_load_include('inc', 'ckeditor', 'includes/ckeditor.user');
return ckeditor_user_delegate($type, $edit, $user, $category);
}
return NULL;
}