You are here

function wysiwyg_linebreaks_linebreaks_plugin in Wysiwyg Linebreaks 6

Same name and namespace in other branches
  1. 7 plugins/linebreaks.inc \wysiwyg_linebreaks_linebreaks_plugin()

Implementation of hook_wysiwyg_plugin().

File

plugins/linebreaks.inc, line 12
Implement Wysiwyg module hooks.

Code

function wysiwyg_linebreaks_linebreaks_plugin() {
  $plugins['linebreaks'] = array(
    'title' => t('Force linebreaks'),
    'vendor url' => 'http://drupal.org/project/wysiwyg_linebreaks',
    'icon title' => t('Converts all p and br tags to linebreaks, and vice-versa'),
    'settings' => array(),
  );
  $plugins['convert_linebreaks'] = array(
    'title' => t('Convert linebreaks'),
    'vendor url' => 'http://drupal.org/project/wysiwyg_linebreaks',
    'icon title' => t('Converts all p and br tags to linebreaks'),
    'settings' => array(),
  );
  return $plugins;
}