protected function sweaver_plugin::sweaver_popups_render in Sweaver 7
Same name and namespace in other branches
- 6 sweaver_plugin.inc \sweaver_plugin::sweaver_popups_render()
Helper function render the popups.
2 calls to sweaver_plugin::sweaver_popups_render()
- sweaver_plugin::sweaver_form_render in ./
sweaver_plugin.inc - Sweaver form render.
- sweaver_plugin_styles::sweaver_form_render in plugins/
sweaver_plugin_styles/ sweaver_plugin_styles.inc - Frontend form render.
File
- ./
sweaver_plugin.inc, line 41 - Abstract Base class for a sweaver plugin.
Class
- sweaver_plugin
- @file Abstract Base class for a sweaver plugin.
Code
protected function sweaver_popups_render(&$vars, &$form, $name) {
foreach ($form[$name]['form']['#popups'] as $key => $form_key) {
$vars['sweaver_popup'] .= drupal_render($form[$name]['form'][$form_key]);
}
}