diff -u b/core/modules/migrate/src/Plugin/migrate/process/FormatDate.php b/core/modules/migrate/src/Plugin/migrate/process/FormatDate.php --- b/core/modules/migrate/src/Plugin/migrate/process/FormatDate.php +++ b/core/modules/migrate/src/Plugin/migrate/process/FormatDate.php @@ -15,7 +15,7 @@ * - from_format: The source format string as accepted by * @link http://php.net/manual/datetime.createfromformat.php \DateTime::createFromFormat. @endlink * - to_format: The destination format. - * - from_timezone: String identifying the required source time zone, see + * - timezone: String identifying the required source time zone, see * DateTimePlus::__construct(). * - to_timezone: String identifying the required destination time zone, see * DateTimePlus::__construct(). @@ -56,7 +56,7 @@ * plugin: format_date * from_format: 'Y-m-d\TH:i:sO' * to_format: 'Y-m-d\TH:i:s' - * from_timezone: 'America/Managua' + * timezone: 'America/Managua' * to_timezone: 'UTC' * settings: * validate_format: false @@ -94,7 +94,7 @@ $fromFormat = $this->configuration['from_format']; $toFormat = $this->configuration['to_format']; - $from_timezone = isset($this->configuration['from_timezone']) ? $this->configuration['from_timezone'] : NULL; + $from_timezone = isset($this->configuration['timezone']) ? $this->configuration['timezone'] : NULL; $to_timezone = isset($this->configuration['to_timezone']) ? $this->configuration['to_timezone'] : $from_timezone; $settings = isset($this->configuration['settings']) ? $this->configuration['settings'] : []; diff -u b/core/modules/migrate/tests/src/Unit/process/FormatDateTest.php b/core/modules/migrate/tests/src/Unit/process/FormatDateTest.php --- b/core/modules/migrate/tests/src/Unit/process/FormatDateTest.php +++ b/core/modules/migrate/tests/src/Unit/process/FormatDateTest.php @@ -113,7 +113,7 @@ 'configuration' => [ 'from_format' => 'Y-m-d h:i:s', 'to_format' => 'Y-m-d h:i:s', - 'from_timezone' => 'America/Managua', + 'timezone' => 'America/Managua', 'to_timezone' => 'UTC', ], 'value' => '2004-12-19 10:19:42', reverted: --- b/sites/default/default.settings.php +++ a/sites/default/default.settings.php @@ -86,7 +86,7 @@ * ); * @endcode */ +$databases = array(); - $databases = array(); /** * Customizing database settings. @@ -643,6 +643,7 @@ * configuration values in settings.php will not fire any of the configuration * change events. */ +# $config['system.file']['path']['temporary'] = '/tmp'; # $config['system.site']['name'] = 'My Drupal site'; # $config['system.theme']['default'] = 'stark'; # $config['user.settings']['anonymous'] = 'Visitor'; @@ -750,6 +751,16 @@ ]; /** + * The default number of entities to update in a batch process. + * + * This is used by update and post-update functions that need to go through and + * change all the entities on a site, so it is useful to increase this number + * if your hosting configuration (i.e. RAM allocation, CPU speed) allows for a + * larger number of entities to be processed in a single batch run. + */ +$settings['entity_update_batch_size'] = 50; + +/** * Load local development override configuration, if available. * * Use settings.local.php to override variables on secondary (staging,