It's impossible to fully implement Drupal's render system, but we shouldn't discount what our users are capable of.
Whatever renderer->render() logic we implement, our users might want to do something different. So users should be able to override the default render function that we write with:
addDrupalExtensions(twigOrTwing, {
render: someCustomFunction,
});
It's impossible to fully implement Drupal's render system, but we shouldn't discount what our users are capable of.
Whatever
renderer->render()logic we implement, our users might want to do something different. So users should be able to override the default render function that we write with: