Closed yorkshire-pudding closed 1 year ago
$_SESSION
is a PHP predefined variable:
https://www.php.net/manual/en/reserved.variables.session.php
Maybe just add a link to the online PHP manual?
Thanks @bugfolder - I hadn't realised that. Your suggestion makes sense.
Documentation for files and functions is contained in the code docblocks. So, for example, the documentation for file session.inc linked above is contained in the @file docblock at the top of the file (click "View Source" on that page to see it).
So, to make these changes (and related changes in the relevant functions), you should file a PR to core code with the documentation changes.
Issue and PR filed.
This has been merged.
This pages (and more) mention the $_SESSION superglobal but it doesn't appear to be documented anywhere what this is about.
https://docs.backdropcms.org/api/backdrop/core%21includes%21session.inc/1
The most obvious place would seem to be under Globals