You are here

function ckeditor_rule_create in CKEditor - WYSIWYG HTML editor 6

1 call to ckeditor_rule_create()
ckeditor_process_textarea in ./ckeditor.module
This function creates the HTML objects required for CKEditor.

File

includes/ckeditor.admin.inc, line 2078
CKEditor - The text editor for the Internet - http://ckeditor.com Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.

Code

function ckeditor_rule_create($nodetype = '*', $path = '*', $fieldname = '*') {
  global $theme;
  $rule = new stdClass();
  $rule->nodetype = $nodetype;
  $rule->path = $path;
  $rule->field = $fieldname;
  $rule->theme = $theme;
  return $rule;
}