Version 1
[yaffs-website] / web / core / modules / system / templates / textarea.html.twig
diff --git a/web/core/modules/system/templates/textarea.html.twig b/web/core/modules/system/templates/textarea.html.twig
new file mode 100644 (file)
index 0000000..cd987d2
--- /dev/null
@@ -0,0 +1,20 @@
+{#
+/**
+ * @file
+ * Default theme implementation for a 'textarea' #type form element.
+ *
+ * Available variables
+ * - wrapper_attributes: A list of HTML attributes for the wrapper element.
+ * - attributes: A list of HTML attributes for the <textarea> element.
+ * - resizable: An indicator for whether the textarea is resizable.
+ * - required: An indicator for whether the textarea is required.
+ * - value: The textarea content.
+ *
+ * @see template_preprocess_textarea()
+ *
+ * @ingroup themeable
+ */
+#}
+<div{{ wrapper_attributes }}>
+  <textarea{{ attributes }}>{{ value }}</textarea>
+</div>