Issue #2152229 by steveoliver, rteijeiro, joelpittet, JeroenT, InternetDevels, michamilz, burgerboydaddy, hussainweb, shanethehat, jenlampton, kpa, AnythonyR, EVIIILJ, kgoel, Cottser, dsdeiz, hanpersand: Convert theme_textarea() to Twig
2014-02-04 17:28:23 +00:00
|
|
|
{#
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* Default theme implementation for a 'textarea' #type form element.
|
|
|
|
*
|
|
|
|
* Available variables
|
|
|
|
* - wrapper_attributes: A list of HTML attributes for the wrapper element.
|
Issue #2546248 by scythian, XaviP, darrenwh, mikebell_, ingaro, urbanlegend, jhodgdon, davidhernandez, andypost, joelpittet, emma.maria, cdykstra, Cottser, LewisNyman, joachim: Use consistent style to mention HTML tags in code comments
2016-05-26 19:12:15 +00:00
|
|
|
* - attributes: A list of HTML attributes for the <textarea> element.
|
2014-10-08 10:52:46 +00:00
|
|
|
* - resizable: An indicator for whether the textarea is resizable.
|
|
|
|
* - required: An indicator for whether the textarea is required.
|
Issue #2152229 by steveoliver, rteijeiro, joelpittet, JeroenT, InternetDevels, michamilz, burgerboydaddy, hussainweb, shanethehat, jenlampton, kpa, AnythonyR, EVIIILJ, kgoel, Cottser, dsdeiz, hanpersand: Convert theme_textarea() to Twig
2014-02-04 17:28:23 +00:00
|
|
|
* - value: The textarea content.
|
|
|
|
*
|
|
|
|
* @see template_preprocess_textarea()
|
|
|
|
*
|
|
|
|
* @ingroup themeable
|
|
|
|
*/
|
|
|
|
#}
|
2015-02-17 15:01:53 +00:00
|
|
|
<div{{ wrapper_attributes }}>
|
|
|
|
<textarea{{ attributes }}>{{ value }}</textarea>
|
2014-10-08 10:52:46 +00:00
|
|
|
</div>
|