Mercurial > hg > cmmr2012-drupal-site
comparison core/modules/system/tests/fixtures/update/drupal-8.seven-secondary-local-tasks-block-2569529.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 |
---|---|
38 ->fetchField(); | 38 ->fetchField(); |
39 $existing_blocks = unserialize($existing_blocks); | 39 $existing_blocks = unserialize($existing_blocks); |
40 | 40 |
41 $connection->update('key_value') | 41 $connection->update('key_value') |
42 ->fields([ | 42 ->fields([ |
43 'value' => serialize(array_merge($existing_blocks, ['block.block.seven_secondary_local_tasks'])) | 43 'value' => serialize(array_merge($existing_blocks, ['block.block.seven_secondary_local_tasks'])), |
44 ]) | 44 ]) |
45 ->condition('collection', 'config.entity.key_store.block') | 45 ->condition('collection', 'config.entity.key_store.block') |
46 ->condition('name', 'theme:seven') | 46 ->condition('name', 'theme:seven') |
47 ->execute(); | 47 ->execute(); |