You are here

function entity_embed_test_theme in Entity Embed 8

Implements hook_theme().

File

tests/modules/entity_embed_test/entity_embed_test.module, line 16
Helper module for the Entity Embed tests.

Code

function entity_embed_test_theme($existing, $type, $theme, $path) {
  $items['entity_embed_twig_test'] = [
    'template' => 'entity_embed_twig_test',
    'variables' => [
      'entity_type' => '',
      'id' => '',
      'display_plugin' => 'default',
      'display_settings' => [],
    ],
  ];
  return $items;
}