protected function AvailabilityCalendarStylesFormBuilder::fieldsetWeekNotes in Availability Calendars 7.4
Same name and namespace in other branches
- 7.5 availability_calendar.styles.inc \AvailabilityCalendarStylesFormBuilder::fieldsetWeekNotes()
- 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()
File
- ./
availability_calendar.styles.inc, line 193
Class
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');
}