public function RenderStackInterface::convertRenderArrayFromD7 in Render cache 7.2
Converts a render array back to be compatible with Drupal 8.
This moves properties from ['#attached']['render_cache'] back to the root.
Parameters
array $render: The render array to convert.
Return value
array The converted render array.
1 method overrides RenderStackInterface::convertRenderArrayFromD7()
- RenderStack::convertRenderArrayFromD7 in src/
Cache/ RenderStack.php - Converts a render array back to be compatible with Drupal 8.
File
- src/
Cache/ RenderStackInterface.php, line 111 - Contains \Drupal\render_cache\Cache\RenderStackInterface
Class
- RenderStackInterface
- Defines an interface for a render stack.
Namespace
Drupal\render_cache\CacheCode
public function convertRenderArrayFromD7($render);