You are here

protected function AvailabilityCalendarStylesFormBuilder::fieldsetWeekNotes in Availability Calendars 7.5

Same name and namespace in other branches
  1. 7.3 availability_calendar.styles.inc \AvailabilityCalendarStylesFormBuilder::fieldsetWeekNotes()
  2. 7.4 availability_calendar.styles.inc \AvailabilityCalendarStylesFormBuilder::fieldsetWeekNotes()

Helper method to create the fieldset for the week note styles.

1 call to AvailabilityCalendarStylesFormBuilder::fieldsetWeekNotes()
AvailabilityCalendarStylesFormBuilder::exec in ./availability_calendar.styles.inc

File

./availability_calendar.styles.inc, line 181

Class

AvailabilityCalendarStylesFormBuilder

Code

protected function fieldsetWeekNotes() {
  $this->currentFieldset = 'week_notes';
  $this->form[$this->currentFieldset] = array(
    '#type' => 'fieldset',
    '#title' => t('Week notes'),
    '#description' => t('Styles that define how a week note cell will be displayed.'),
  );
  $this
    ->lengthField('width');
}