X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fdrupal%2Fconsole%2Ftemplates%2Fmodule%2Ftemplates%2Fentity-with-bundle-content-add-list-html.twig;fp=vendor%2Fdrupal%2Fconsole%2Ftemplates%2Fmodule%2Ftemplates%2Fentity-with-bundle-content-add-list-html.twig;h=56815434fe53f884fcb38458337e2d7f000ed814;hp=0000000000000000000000000000000000000000;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad diff --git a/vendor/drupal/console/templates/module/templates/entity-with-bundle-content-add-list-html.twig b/vendor/drupal/console/templates/module/templates/entity-with-bundle-content-add-list-html.twig new file mode 100644 index 000000000..56815434f --- /dev/null +++ b/vendor/drupal/console/templates/module/templates/entity-with-bundle-content-add-list-html.twig @@ -0,0 +1,23 @@ +{{ '{#' }} +/** + * @file + * Default theme implementation to present a list of custom content entity types/bundles. + * + * Available variables: + * - types: A collection of all the available custom entity types/bundles. + * Each type/bundle contains the following: + * - link: A link to add a content entity of this type. + * - description: A description of this content entity types/bundle. + * + * @see template_preprocess_{{ entity_name }}_content_add_list() + * + * @ingroup themeable + */ +{{ '#}' }} +{{ '{%' }} spaceless {{ '%}' }} +
+ {{ '{%' }} for type in types {{ '%}' }} +
{{ '{{' }} type.link {{ '}}' }}
+ {{ '{%' }} endfor {{ '%}' }} +
+{{ '{%' }} endspaceless {{ '%}' }}