You are here

twig_extension_test.module in Zircon Profile 8

Helper module for Twig extension tests.

File

core/modules/system/tests/modules/twig_extension_test/twig_extension_test.module
View source
<?php

/**
 * @file
 * Helper module for Twig extension tests.
 */

/**
 * Implements hook_theme().
 */
function twig_extension_test_theme($existing, $type, $theme, $path) {
  return array(
    'twig_extension_test_filter' => array(
      'variables' => array(
        'message' => NULL,
        'safe_join_items' => NULL,
      ),
      'template' => 'twig_extension_test.filter',
    ),
    'twig_extension_test_function' => array(
      'render element' => 'element',
      'template' => 'twig_extension_test.function',
    ),
  );
}

Functions

Namesort descending Description
twig_extension_test_theme Implements hook_theme().