Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. db_update('block')
  2. ->fields([
  3. 'weight' => 0,
  4. ])
  5. ->expression('status', "(theme = 'theme_carrefour')")
  6. ->expression('region', "CASE WHEN theme = 'theme_carrefour' THEN 'header' ELSE '-1' END")
  7. ->condition('module', 'recherche_carrefour', '=')
  8. ->condition('delta', 'recherche_textuelle', '=')
  9. ->execute();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement