Loading src/Element/OfficeHoursWeekSlot.php +5 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,11 @@ class OfficeHoursWeekSlot extends OfficeHoursBaseSlot { $element['day'] = [ // For accessibility (a11y) screen readers, a header/title is introduced. '#title' => $label, '#type' => 'item', // '#type' => 'item', // #3273363. '#type' => 'hidden', '#prefix' => $day_delta ? "<div class='office-hours-more-label'>$label</div>" : "<div class='office-hours-label'>$label</div>", '#default_value' => $day, '#value' => $day, ]; Loading Loading
src/Element/OfficeHoursWeekSlot.php +5 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,11 @@ class OfficeHoursWeekSlot extends OfficeHoursBaseSlot { $element['day'] = [ // For accessibility (a11y) screen readers, a header/title is introduced. '#title' => $label, '#type' => 'item', // '#type' => 'item', // #3273363. '#type' => 'hidden', '#prefix' => $day_delta ? "<div class='office-hours-more-label'>$label</div>" : "<div class='office-hours-label'>$label</div>", '#default_value' => $day, '#value' => $day, ]; Loading