On https://www.drupal.org/docs/8/api/render-api/render-arrays there is near to no explaination about how to use #pre_render nor have I found the documentation for it. if it exists it should be linked on that page and if it doesn't (I doubt it) It should be made.
↧