You are here

function theme_editor_button in Editor 5

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

Theme a button plugin class.

Parameters

object $plugin:

Return value

string Markup.

File

./editor.plugins.classes.inc, line 30
Provides default plugin class objects. @author Tj Holowaychuk <http://vision-media.ca/> @package Editor

Code

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