Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
|
|
@ -33,7 +33,8 @@ function serialization_requirements($phase) {
|
|||
/**
|
||||
* @see hal_update_8301()
|
||||
*/
|
||||
function serialization_update_8301() {}
|
||||
function serialization_update_8301() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Add serialization.settings::bc_primitives_as_strings configuration.
|
||||
|
|
@ -46,3 +47,12 @@ function serialization_update_8302() {
|
|||
|
||||
return t('The REST API will no longer output all values as strings. Integers/booleans will be used where appropriate. If your site depends on these value being strings, <a href="https://www.drupal.org/node/2837696">read the change record to learn how to enable the BC mode.</a>');
|
||||
}
|
||||
|
||||
/**
|
||||
* Enable BC for timestamp formatting: continue to return UNIX timestamps.
|
||||
*/
|
||||
function serialization_update_8401() {
|
||||
$config_factory = \Drupal::configFactory();
|
||||
$serialization_settings = $config_factory->getEditable('serialization.settings');
|
||||
$serialization_settings->set('bc_timestamp_normalizer_unix', TRUE)->save(TRUE);
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue