You are here

function theme_editor_button in Editor 6

Same name and namespace in other branches
  1. 5 editor.plugins.classes.inc \theme_editor_button()

Theme a button plugin type.

Parameters

object $plugin:

Return value

string Markup.

File

./editor.plugins.types.inc, line 30
Provides default plugin type objects. @author Tj Holowaychuk <http://www.350designs.com/> @package Editor

Code

function theme_editor_button($plugin) {
  return '
      <div id="editor-' . $plugin->pid . '" class="editor-plugin editor-button">
        <div class="editor-button-left"></div>
        <div class="editor-button-content"></div>
        <div class="editor-button-right"></div>
      </div>
    ';
}