You are here

function theme_common_test_foo in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/tests/modules/common_test/common_test.module \theme_common_test_foo()

Provides a theme function for drupal_render().

3 theme calls to theme_common_test_foo()
RendererTest::providerTestRenderBasic in core/tests/Drupal/Tests/Core/Render/RendererTest.php
Provides a list of render arrays to test basic rendering.
RendererTest::testRenderWithoutThemeArguments in core/tests/Drupal/Tests/Core/Render/RendererTest.php
@covers ::render @covers ::doRender
RendererTest::testRenderWithThemeArguments in core/tests/Drupal/Tests/Core/Render/RendererTest.php
@covers ::render @covers ::doRender

File

core/modules/system/tests/modules/common_test/common_test.module, line 134
Helper module for the Common tests.

Code

function theme_common_test_foo($variables) {
  return $variables['foo'] . $variables['bar'];
}