X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fdrupal%2Fconsole%2Ftemplates%2Fmodule%2Fsrc%2FEntity%2Fentity-content-with-bundle.theme.php.twig;fp=vendor%2Fdrupal%2Fconsole%2Ftemplates%2Fmodule%2Fsrc%2FEntity%2Fentity-content-with-bundle.theme.php.twig;h=6c3a7b79a808aed4e7521f11b043a1d749812cf4;hp=0000000000000000000000000000000000000000;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad diff --git a/vendor/drupal/console/templates/module/src/Entity/entity-content-with-bundle.theme.php.twig b/vendor/drupal/console/templates/module/src/Entity/entity-content-with-bundle.theme.php.twig new file mode 100644 index 000000000..6c3a7b79a --- /dev/null +++ b/vendor/drupal/console/templates/module/src/Entity/entity-content-with-bundle.theme.php.twig @@ -0,0 +1,16 @@ +{% block hook_theme %} + +/** + * Implements hook_theme(). + */ +function {{ module }}_theme() { + $theme = []; +{% include '/module/src/Entity/entity-content.theme.php.twig' with {'entity_name': entity_name, } %} + $theme['{{ entity_name }}_content_add_list'] = [ + 'render element' => 'content', + 'variables' => ['content' => NULL], + 'file' => '{{ entity_name }}.page.inc', + ]; + return $theme; +} +{% endblock %}