1 layout_test_renderer.inc LayoutTestRenderer::renderRegion($region_id, $blocks)

Simply changes the page title.

Overrides LayoutRendererStandard::renderRegion

File

core/modules/layout/tests/layout_test/layout_test_renderer.inc, line 10

Class

LayoutTestRenderer
A test renderer.

Code

function renderRegion($region_id, $blocks) {
  $content = parent::renderRegion($region_id, $blocks);
  if ($region_id == 'header') {
    $content .= 'This layout uses the Test renderer';
  }
  return $content;
}