You are here

function vud_width_plugin_defaults in Vote Up/Down 7.2

Same name and namespace in other branches
  1. 6.3 vud.theme.inc \vud_width_plugin_defaults()
  2. 6.2 vud.theme.inc \vud_width_plugin_defaults()
  3. 7 vud.theme.inc \vud_width_plugin_defaults()

Provide defaults for widgets.

1 string reference to 'vud_width_plugin_defaults'
vud_ctools_plugin_type in ./vud.theme.inc
Implements hook_ctools_plugin_type().

File

./vud.theme.inc, line 30
Theme functions

Code

function vud_width_plugin_defaults(&$plugin, $info) {
  $defaults = array(
    'render function' => 'theme_render_template',
    'extension' => '.tpl.php',
    'css' => $plugin['name'] . '.css',
  );
  $plugin += $defaults;
}