system_maintenance.yml

Same filename in other branches
  1. 9 core/modules/system/migrations/system_maintenance.yml
  2. 8.9.x core/modules/system/migrations/system_maintenance.yml
  3. 11.x 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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.