function theme_editor_plugin_help in Editor 5
Theme editor plugin token help section.
Parameters
array $plugins:
Return value
string Markup.
Related topics
1 theme call to theme_editor_plugin_help()
- editor_settings_profiles in ./
editor.module - Profile settings form.
File
- ./
editor.module, line 701 - Extendable WYSIWYG editor @author Tj Holowaychuk <tj@vision-media.ca> @link http://vision-media.ca @package Editor
Code
function theme_editor_plugin_help($plugins) {
$header = array(
t('Name'),
t('Token'),
t('Description'),
);
$rows = array();
foreach ((array) $plugins as $plugin) {
$rows[] = array(
$plugin->name,
$plugin->pid,
$plugin->description,
);
}
return theme('table', $header, $rows);
}