protected function AvailabilityCalendarStylesFormBuilder::fieldsetDays in Availability Calendars 7.3
Same name and namespace in other branches
- 7.5 availability_calendar.styles.inc \AvailabilityCalendarStylesFormBuilder::fieldsetDays()
- 7.4 availability_calendar.styles.inc \AvailabilityCalendarStylesFormBuilder::fieldsetDays()
Helper method to return the fieldset for the day styles.
Return value
array An array with a number of form elements in a fieldset.
1 call to AvailabilityCalendarStylesFormBuilder::fieldsetDays()
File
- ./
availability_calendar.styles.inc, line 206
Class
Code
protected function fieldsetDays() {
$this->currentFieldset = 'days';
$this->form[$this->currentFieldset] = array(
'#type' => 'fieldset',
'#title' => t('Days'),
'#description' => t('Styles that define how a day cell will be displayed.'),
);
$this
->lengthField('width');
$this
->lengthField('height');
$this
->selectField('text-align', array(
'left',
'right',
'center',
'inherit',
));
$this
->selectField('vertical-align', array(
'baseline',
'sub',
'super',
'top',
'text-top',
'middle',
'bottom',
'text-bottom',
));
}