Description of the need
If a Layout made its contexts available to its custom blocks, this would allow people to use tokens related to the entities in the context. Use case: create a custom block that displays some node properties like the created date, which are otherwise not selectively available.
Currently the layout contexts are not available to BlockText, which is the class that custom blocks use. While BlockText::getContent()
does invoke token_replace()
it does so without any context, meaning that only global tokens are fulfilled.
Recent comments
- In Backdrop CMS the update.php file located in the /core folder (mydomain.com/core/update.php). - For launch the update.php from address bar of the browser, without restrictions, you...
Update Problems
Thanks. I've now tested this on a localhost and what you say holds true: the user whose permission has been removed for the given content type no longer has creation and editing rights for that...
Status of existing content after role permission removal
I finally found the PHP controle in my CPANEL and Reset the PHP to vwersion 7.3. Using this version I was able to clear the update caches but I am still unable to run update instite of the...
Update Problems