Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
maintenance_mode:
class: Drupal\Core\Site\MaintenanceMode
arguments: ['@state', '@current_user']
MaintenanceMode constructor accepts only one argument ($state).
Comment | File | Size | Author |
---|---|---|---|
#2 | 3002734-2.patch | 641 bytes | hardikpandya |
Comments
Comment #2
hardikpandya CreditAttribution: hardikpandya at Trigyn Technologies Ltd commentedComment #3
Chi CreditAttribution: Chi commentedThanks.
Comment #4
catchCommitted e7f3ceb and pushed to 8.7.x. Thanks!