comparison core/modules/system/tests/fixtures/update/drupal-8.update-test-block-disabled-2513534.php @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents c75dbcec494b
children
comparison
equal deleted inserted replaced
3:307d7a7fd348 4:a9cd425dd02b
41 ->fetchField(); 41 ->fetchField();
42 $existing_blocks = unserialize($existing_blocks); 42 $existing_blocks = unserialize($existing_blocks);
43 43
44 $connection->update('key_value') 44 $connection->update('key_value')
45 ->fields([ 45 ->fields([
46 'value' => serialize(array_merge($existing_blocks, ['block.block.testfor2513534', 'block.block.secondtestfor2513534'])) 46 'value' => serialize(array_merge($existing_blocks, ['block.block.testfor2513534', 'block.block.secondtestfor2513534'])),
47 ]) 47 ])
48 ->condition('collection', 'config.entity.key_store.block') 48 ->condition('collection', 'config.entity.key_store.block')
49 ->condition('name', 'theme:bartik') 49 ->condition('name', 'theme:bartik')
50 ->execute(); 50 ->execute();