function panopoly_magic_form_ctools_stylizer_edit_style_form_choose_alter in Panopoly Magic 7
Implementation of hook_form_FORM_ID_alter().
Provide customizations for the ctools stylizer edit choose form.
File
- ./
panopoly_magic.module, line 1484
Code
function panopoly_magic_form_ctools_stylizer_edit_style_form_choose_alter(&$form, &$form_state, $form_id) {
// Remove the rounded corners options
if (!empty($form['style_base']['Basic-styles']['pane_rounded_shadow'])) {
unset($form['style_base']['Basic-styles']['pane_rounded_shadow']);
}
if (!empty($form['style_base']['Basic-styles']['region_rounded_shadow'])) {
unset($form['style_base']['Basic-styles']['region_rounded_shadow']);
}
}