diff --git a/uw_cfg_common.install b/uw_cfg_common.install index ebd4db8a01a2331ecf34ef5efd413bc7f702246b..1c622d7ea4a0356f4c4f91ba33c9343dea26a6e2 100644 --- a/uw_cfg_common.install +++ b/uw_cfg_common.install @@ -509,7 +509,7 @@ function uw_cfg_common_update_9106(&$sandbox) { } // Get the type of media field that we need to udpate. - $type_of_media = current(\Drupal::entityTypeManager()->getStorage('field_storage_config')->loadByProperties(array('id' => 'node.field_uw_type_of_media'))); + $type_of_media = current(\Drupal::entityTypeManager()->getStorage('field_storage_config')->loadByProperties(['id' => 'node.field_uw_type_of_media'])); // Get the type of media settings. $settings = $type_of_media->getSettings();