You are here

protected function AvailabilityCalendarStylesFormBuilder::fieldsetWeekNotes in Availability Calendars 7.4

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

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

Return value

array An array with a number of form elements in a fieldset.

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

File

./availability_calendar.styles.inc, line 193

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');
}