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

ISTWCMS-5880: finally fixing update hook for media

parent 6e4c5aa2
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
......@@ -571,6 +571,7 @@ function uw_cfg_common_update_9106(&$sandbox) {
'field.storage.node.field_uw_media_width',
'field.storage.node.field_uw_slide_speed',
'field.storage.node.field_uw_transition_speed',
'field.storage.node.field_uw_autoplay',
'field.storage.node.field_uw_text_overlay_style',
];
......@@ -610,6 +611,8 @@ function uw_cfg_common_update_9106(&$sandbox) {
'field.field.node.' . $id . '.field_uw_banner',
'field.field.node.' . $id . '.field_uw_type_of_media',
'field.field.node.' . $id . '.field_uw_media_width',
'field.field.node.' . $id . '.field_uw_slide_speed',
'field.field.node.' . $id . '.field_uw_autoplay',
'field.field.node.' . $id . '.field_uw_text_overlay_style',
'field.field.node.' . $id . '.field_uw_transition_speed',
];
......@@ -658,6 +661,7 @@ function uw_cfg_common_update_9106(&$sandbox) {
$node->field_uw_media_width = 'uw_lbs_full_width';
$node->field_uw_slide_speed = 7000;
$node->field_uw_transition_speed = 400;
$node->field_uw_autoplay = TRUE;
$node->field_uw_text_overlay_style = 'full-width';
// If the content type does not have media yet,
......
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