Followup from the project application at #2875485: [D8] Compact date/time range formatter
To allow other modules to extend classes, it is preferable to use protected rather than private local functions. An extending class will not have access to superclass private functions.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | daterange_compact-protected-functions-2887922-1.patch | 1003 bytes | johnpitcairn |
Issue fork daterange_compact-2887922
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
johnpitcairn commentedAnd patch.
This patch changes the private functions in the
DateRangeFormatListBuilderclass to protected.Comment #4
tim-dielsComment #6
erik.erskine commentedFixed in 2.1.0
Thanks :)