Version 1
[yaffs-website] / vendor / drupal / console / templates / module / templates / entity-html.twig
diff --git a/vendor/drupal/console/templates/module/templates/entity-html.twig b/vendor/drupal/console/templates/module/templates/entity-html.twig
new file mode 100644 (file)
index 0000000..4fd6b96
--- /dev/null
@@ -0,0 +1,22 @@
+{{ '{#' }}
+/**
+ * @file {{ entity_name }}.html.twig
+ * Default theme implementation to present {{ label }} data.
+ *
+ * This template is used when viewing {{ label }} pages.
+ *
+ *
+ * Available variables:
+ * - content: A list of content items. Use 'content' to print all content, or
+ * - attributes: HTML attributes for the container element.
+ *
+ * @see template_preprocess_{{ entity_name }}()
+ *
+ * @ingroup themeable
+ */
+{{ '#}' }}
+<div{{ '{{' }} attributes.addClass('{{ entity_name }}') {{ '}}' }}>
+  {{ '{%' }} if content {{ '%}' }}
+    {{ '{{' }}- content -{{ '}}' }}
+  {{ '{%' }} endif {{ '%}' }}
+</div>