turn on maintenance mode drupal 8 command code example Example: maintenance mode drupal 7 drush drush vset maintenance_mode 1