You are here

function smart_paging_smart_paging_plugin in Smart Paging 7.2

Same name and namespace in other branches
  1. 7 plugins/wysiwyg/smart_paging.inc \smart_paging_smart_paging_plugin()

Implements hook_wysiwyg_plugin().

File

plugins/wysiwyg/smart_paging.inc, line 11
Smart Paging/Wysiwyg API integration.

Code

function smart_paging_smart_paging_plugin() {
  $plugins['smart_paging'] = array(
    'title' => t('Smart Paging'),
    'vendor url' => 'http://drupal.org/project/smart_paging',
    'icon file' => 'smart_paging.gif',
    'icon title' => t('Insert a page break'),
    'settings' => array(
      'smartPagingPagebreak' => variable_get('smart_paging_pagebreak', '<!--pagebreak-->'),
    ),
  );
  return $plugins;
}