This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ path("entity.node.canonical", {"node": NID}) }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Once we have access to a node object we can e.g. `dump($node)` to | |
* discover properties, like `$node->get("field_example")->getValue()` | |
* or `$node->nid->getValue()[0]["value"]`. | |
* | |
* @todo - If we just need the node object of the current page, we | |
* probably don't need to derive it. But what exactly is the reference | |
* to the current node? | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place at end of file | |
$settings['dx8_json_fields'] = TRUE; | |
$settings['dx8_editable_api_url'] = TRUE; |