You are here

system_maintenance.yml in Drupal 9

Same filename and directory in other branches
  1. 8 core/modules/system/migrations/system_maintenance.yml
core/modules/system/migrations/system_maintenance.yml

File

core/modules/system/migrations/system_maintenance.yml
View source
  1. id: system_maintenance
  2. label: Maintenance page configuration
  3. migration_tags:
  4. - Drupal 6
  5. - Drupal 7
  6. - Configuration
  7. source:
  8. plugin: variable
  9. variables:
  10. - maintenance_mode_message
  11. - site_offline_message
  12. source_module: system
  13. process:
  14. message:
  15. -
  16. plugin: callback
  17. callable: array_filter
  18. source:
  19. - maintenance_mode_message
  20. - site_offline_message
  21. -
  22. plugin: callback
  23. callable: current
  24. destination:
  25. plugin: config
  26. config_name: system.maintenance