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