4 * Default theme implementation for a details element.
7 * - attributes: A list of HTML attributes for the details element.
8 * - errors: (optional) Any errors for this details element, may not be set.
9 * - title: (optional) The title of the element, may not be set.
10 * - description: (optional) The description of the element, may not be set.
11 * - children: (optional) The children of the element, may not be set.
12 * - value: (optional) The value of the element, may not be set.
14 * @see template_preprocess_details()
19 <details{{ attributes }}>
21 set summary_classes = [
22 required ? 'js-form-required',
23 required ? 'form-required',
27 <summary{{ summary_attributes.addClass(summary_classes) }}>{{ title }}</summary>