You are here

function _sweaver_sweaver_plugins in Sweaver 7

Same name and namespace in other branches
  1. 6 sweaver.registry.inc \_sweaver_sweaver_plugins()

Sweaver plugins.

1 call to _sweaver_sweaver_plugins()
sweaver_sweaver_plugins in ./sweaver.module
Implements hook_sweaver_plugins().

File

./sweaver.registry.inc, line 81
Registry for Sweaver.

Code

function _sweaver_sweaver_plugins() {
  $plugins = array();
  $plugins['sweaver_plugin_editor'] = array(
    'handler' => array(
      'path' => drupal_get_path('module', 'sweaver') . '/plugins/sweaver_plugin_editor',
      'file' => 'sweaver_plugin_editor.inc',
      'class' => 'sweaver_plugin_editor',
      'parent' => 'sweaver_plugin',
    ),
    'tab' => t('Style'),
    'tab_description' => t('Click on the element you want to theme.'),
  );
  $plugins['sweaver_plugin_styles'] = array(
    'handler' => array(
      'path' => drupal_get_path('module', 'sweaver') . '/plugins/sweaver_plugin_styles',
      'file' => 'sweaver_plugin_styles.inc',
      'class' => 'sweaver_plugin_styles',
      'parent' => 'sweaver_plugin',
    ),
    'tab' => t('Manage styles'),
  );
  $plugins['sweaver_plugin_palettes'] = array(
    'handler' => array(
      'path' => drupal_get_path('module', 'sweaver') . '/plugins/sweaver_plugin_palettes',
      'file' => 'sweaver_plugin_palettes.inc',
      'class' => 'sweaver_plugin_palettes',
      'parent' => 'sweaver_plugin',
    ),
    'tab' => t('Palettes'),
    'tab_description' => t('Change all settings in one click'),
  );
  $plugins['sweaver_plugin_advanced'] = array(
    'handler' => array(
      'path' => drupal_get_path('module', 'sweaver') . '/plugins/sweaver_plugin_advanced',
      'file' => 'sweaver_plugin_advanced.inc',
      'class' => 'sweaver_plugin_advanced',
      'parent' => 'sweaver_plugin',
    ),
    'tab' => t('Advanced'),
    'tab_description' => t('Advanced options for managing css'),
  );
  $plugins['sweaver_plugin_images'] = array(
    'handler' => array(
      'path' => drupal_get_path('module', 'sweaver') . '/plugins/sweaver_plugin_images',
      'file' => 'sweaver_plugin_images.inc',
      'class' => 'sweaver_plugin_images',
      'parent' => 'sweaver_plugin',
    ),
    'tab' => t('Images'),
    'tab_description' => t('Upload images to use as a background image.'),
  );
  $plugins['sweaver_plugin_themeswitch'] = array(
    'handler' => array(
      'path' => drupal_get_path('module', 'sweaver') . '/plugins/sweaver_plugin_themeswitch',
      'file' => 'sweaver_plugin_themeswitch.inc',
      'class' => 'sweaver_plugin_themeswitch',
      'parent' => 'sweaver_plugin',
    ),
    'tab' => t('Switch theme'),
    'tab_description' => t('Switch and style another theme.'),
  );
  $plugins['sweaver_plugin_themesettings'] = array(
    'handler' => array(
      'path' => drupal_get_path('module', 'sweaver') . '/plugins/sweaver_plugin_themesettings',
      'file' => 'sweaver_plugin_themesettings.inc',
      'class' => 'sweaver_plugin_themesettings',
      'parent' => 'sweaver_plugin',
    ),
    'tab' => t('Theme settings'),
    'tab_description' => t('Configure the settings for this theme.'),
  );
  $plugins['sweaver_plugin_themeclasses'] = array(
    'handler' => array(
      'path' => drupal_get_path('module', 'sweaver') . '/plugins/sweaver_plugin_themeclasses',
      'file' => 'sweaver_plugin_themeclasses.inc',
      'class' => 'sweaver_plugin_themeclasses',
      'parent' => 'sweaver_plugin',
    ),
    'tab' => t('Theme styles'),
    'tab_description' => t('Select an item - if any - to style it. Clicking will switch to the style editor form.'),
  );
  $plugins['sweaver_plugin_fontface'] = array(
    'handler' => array(
      'path' => drupal_get_path('module', 'sweaver') . '/plugins/sweaver_plugin_fontface',
      'file' => 'sweaver_plugin_fontface.inc',
      'class' => 'sweaver_plugin_fontface',
      'parent' => 'sweaver_plugin',
    ),
    'tab' => t('Font face'),
  );
  $plugins['sweaver_plugin_kb'] = array(
    'handler' => array(
      'path' => drupal_get_path('module', 'sweaver') . '/plugins/sweaver_plugin_kb',
      'file' => 'sweaver_plugin_kb.inc',
      'class' => 'sweaver_plugin_kb',
      'parent' => 'sweaver_plugin',
    ),
    'tab' => t('Key bindings'),
  );
  $plugins['sweaver_plugin_toolbar'] = array(
    'handler' => array(
      'path' => drupal_get_path('module', 'sweaver') . '/plugins/sweaver_plugin_toolbar',
      'file' => 'sweaver_plugin_toolbar.inc',
      'class' => 'sweaver_plugin_toolbar',
      'parent' => 'sweaver_plugin',
    ),
    'tab' => t('Toolbar'),
  );
  return $plugins;
}