Skip to content
Snippets Groups Projects
Commit e1860e95 authored by Eric Bremner's avatar Eric Bremner Committed by Kevin Paxman
Browse files

ISTWCMS-5880: coding standards

parent 077032dd
No related branches found
No related tags found
3 merge requests!284Feature/istwcms 5880 ebremner banners above,!274Draft: ISTWCMS-5551: fixing office hours display,!260Feature/istwcms 5668 a5kulkar rename references to publications
...@@ -1176,7 +1176,7 @@ function uw_cfg_common_field_widget_entity_reference_paragraphs_form_alter(&$ele ...@@ -1176,7 +1176,7 @@ function uw_cfg_common_field_widget_entity_reference_paragraphs_form_alter(&$ele
// If there already is classes set, then add to the array. // If there already is classes set, then add to the array.
// If no classes yet, add as an array. // If no classes yet, add as an array.
if (isset( $element['subform']['field_uw_ban_image']['widget']['#attributes']['class'])) { if (isset($element['subform']['field_uw_ban_image']['widget']['#attributes']['class'])) {
$element['subform']['field_uw_ban_image']['widget']['#attributes']['class'][] = 'form-required'; $element['subform']['field_uw_ban_image']['widget']['#attributes']['class'][] = 'form-required';
} }
else { else {
......
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