Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- db_update('block')
- ->fields([
- 'weight' => 0,
- ])
- ->expression('status', "(theme = 'theme_carrefour')")
- ->expression('region', "CASE WHEN theme = 'theme_carrefour' THEN 'header' ELSE '-1' END")
- ->condition('module', 'recherche_carrefour', '=')
- ->condition('delta', 'recherche_textuelle', '=')
- ->execute();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement