You are here

twig_render_this_test.module in Twig Render This 8

Primary module hooks for Twig Render This Test.

File

tests/twig_render_this_test/twig_render_this_test.module
View source
<?php

/**
 * @file
 * Primary module hooks for Twig Render This Test.
 */

/**
 * Implements hook_theme().
 */
function twig_render_this_test_theme() {
  return [
    'node__article' => [
      'template' => 'node--article',
      'base hook' => 'node',
    ],
    'node__page' => [
      'template' => 'node--page',
      'base hook' => 'node',
    ],
    'node__product' => [
      'template' => 'node--product',
      'base hook' => 'node',
    ],
    'views_view__news' => [
      'template' => 'views-view--news',
      'base hook' => 'views_view',
    ],
  ];
}

Functions

Namesort descending Description
twig_render_this_test_theme Implements hook_theme().