D8 port of maintenance200 module uses MENU_SITE_OFFLINE constant in event subscriber that is not supported by D8 core.
Attached is the patch that provides D8 support and uses the interface for the maintenance mode service provided by the core. At the same time module structure has been changed according to coding standards. Hopefully ok.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | interdiff-7-9.txt | 730 bytes | r.nabiullin |
| #9 | maintenance200-d8-support-9.patch | 16.9 KB | r.nabiullin |
Comments
Comment #3
mitrpaka commentedHere is updated patch file as first patch file is corrupted (and missing files).
Comment #4
mitrpaka commentedComment #5
hkirsman commentedThis must be added as this is not merely constant issue but refactoring for make the module work at all for latest D8!
Comment #6
hkirsman commentedComment #7
r.nabiullin commentedFixed code style
Fixed installing config and schema
Comment #8
hkirsman commentedWondering why changed some variables from protected to public? @r.nabiullin
Comment #9
r.nabiullin commented@hkirsman really no reason for it. Fixed
Comment #10
hkirsman commentedComment #12
barrett commentedThank you @hkrisman and @r.nabiullin. I believe I captured all the changes reflect here and the module seems to be working as expected at this time.
Comment #13
barrett commented