function nd_cssoverrider_submit in Node displays 6
Implementation of nd_pluginname_submit().
File
- plugins/
cssoverrider.inc, line 44 - Plugin to override css inline.
Code
function nd_cssoverrider_submit($form, $form_state, &$nd_display_settings) {
$regions = nd_regions();
$css_save = array();
$build_mode = $form['#build_mode'];
foreach ($regions as $region => $title) {
$css_save['class'][$region] = $form_state['values']['cssoverrider']['region-class-' . $region];
$css_save['inline'][$region] = $form_state['values']['cssoverrider']['region-inline-' . $region];
}
$nd_display_settings[$build_mode]['cssoverrider'] = $css_save;
}