function theme_openlayers_ui_presets_form_behaviors in Openlayers 6.2
Drupal theme implementation for Behaviors in the Preset form
1 theme call to theme_openlayers_ui_presets_form_behaviors()
- openlayers_ui_presets_form in modules/
openlayers_ui/ includes/ openlayers_ui.presets.inc - Menu Callback for Add Preset
File
- modules/
openlayers_ui/ includes/ openlayers_ui.theme.inc, line 116 - This file holds the theme functions for openlayers ui module
Code
function theme_openlayers_ui_presets_form_behaviors($form) {
$output = '';
$rows = array();
foreach (element_children($form) as $key) {
$row = array();
$row[] = drupal_render($form[$key]['enabled']) . drupal_render($form[$key]['options_set']) . drupal_render($form[$key]['dependencies']);
$rows[] = $row;
}
// Create table
$output .= theme('table', array(
t('Behaviors'),
), $rows);
return $output;
}