Skip to content
Snippets Groups Projects
Commit d9a17f90 authored by Igor Biki's avatar Igor Biki
Browse files

Merge branch...

Merge branch 'feature/ISTWCMS-5885-l26yan-Remove-webform-ui-element-wrapper-attributes' into '1.1.x'

ISTWCMS-5885 Remove ability to set CSS classes, CSS styles and custom...

See merge request !289
parents 5a64dc07 c79b6692
No related branches found
No related tags found
3 merge requests!289ISTWCMS-5885 Remove ability to set CSS classes, CSS styles and custom...,!274Draft: ISTWCMS-5551: fixing office hours display,!260Feature/istwcms 5668 a5kulkar rename references to publications
......@@ -192,6 +192,15 @@ function uw_cfg_common_form_webform_admin_config_submissions_form_alter(array &$
$form['views_settings']['#access'] = FALSE;
}
/**
* Implements hook_form_FORM_ID_alter().
*
* Remove wrapper attributes in admin/structure/webform/manage/{webform_id}.
*/
function uw_cfg_common_form_webform_ui_element_form_alter(array &$form, FormStateInterface $form_state, string $form_id): void {
$form['properties']['wrapper_attributes']['#access'] = FALSE;
}
/**
* Implements hook_form_FORM_ID_alter().
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment