You are here

function bueditor_button_defaults in BUEditor 6.2

Same name and namespace in other branches
  1. 7 admin/bueditor.admin.inc \bueditor_button_defaults()

Default values of a new button.

1 call to bueditor_button_defaults()
bueditor_button_form in admin/bueditor.admin.inc
Button form

File

admin/bueditor.admin.inc, line 888

Code

function bueditor_button_defaults($title = '') {
  return (object) array(
    'title' => $title,
    'content' => '',
    'icon' => '',
    'accesskey' => '',
    'weight' => 0,
  );
}