}
/**
- * @addtogroup updates-8.x-1.0-alpha
- * @{
+ * Enable file_mdm module.
*/
-
-/**
- * Adds the 'locale' config setting.
- */
-function imagemagick_update_8001() {
- $config_factory = \Drupal::configFactory();
- $setting = $config_factory->getEditable('imagemagick.settings')
- ->set('locale', 'en_US.UTF-8')
- ->save(TRUE);
+function imagemagick_update_8201() {
+ \Drupal::service('module_installer')->install([
+ 'file_mdm',
+ ]);
}
/**
- * Adds the 'log_warnings' config setting.
+ * Adds the 'prepend_pre_source' config setting.
*/
-function imagemagick_update_8002() {
+function imagemagick_update_8202() {
$config_factory = \Drupal::configFactory();
$setting = $config_factory->getEditable('imagemagick.settings')
- ->set('log_warnings', TRUE)
+ ->set('prepend_pre_source', FALSE)
->save(TRUE);
}
/**
- * @} End of "addtogroup updates-8.x-1.0-alpha".
+ * Clear caches to discover service changes.
*/
+function imagemagick_update_8203() {
+ // Empty function.
+}