{# /** * @file * Theme override of a datetime form wrapper. * * @todo Refactor when https://www.drupal.org/node/3010558 is fixed. * * @see template_preprocess_form_element() */ #} {% set title_classes = [ 'form-item__label', required ? 'js-form-required', required ? 'form-required', errors ? 'has-error', ] %}