Skip to content
Snippets Groups Projects
Commit 378d39f4 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #658776 by Dave Reid: enable search block by default on Dashboard.

parent 0c2b5265
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -205,6 +205,16 @@ function default_install() {
'pages' => '',
'cache' => -1,
),
array(
'module' => 'search',
'delta' => 'form',
'theme' => 'seven',
'status' => 1,
'weight' => 1,
'region' => 'dashboard_sidebar',
'pages' => '',
'cache' => -1,
),
);
$query = db_insert('block')->fields(array('module', 'delta', 'theme', 'status', 'weight', 'region', 'pages', 'cache'));
foreach ($values as $record) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment