function ViewsTestDataController::preRender
Tests pre_render function.
Parameters
array $element: A render array.
Return value
array The changed render array.
File
- 
              core/modules/ views/ tests/ modules/ views_test_data/ src/ Controller/ ViewsTestDataController.php, line 46 
Class
- ViewsTestDataController
- Controller class for views_test_data callbacks.
Namespace
Drupal\views_test_data\ControllerCode
public static function preRender($element) {
  $element['#markup'] = '\\Drupal\\views_test_data\\Controller\\ViewsTestDataController::preRender executed';
  return $element;
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
