protected function AvailabilityCalendarStylesFormBuilder::fieldsetTable in Availability Calendars 7.4
Same name and namespace in other branches
- 7.5 availability_calendar.styles.inc \AvailabilityCalendarStylesFormBuilder::fieldsetTable()
- 7.3 availability_calendar.styles.inc \AvailabilityCalendarStylesFormBuilder::fieldsetTable()
Helper method to return the fieldset for the table styles.
Return value
array An array with a number of form elements in a fieldset.
1 call to AvailabilityCalendarStylesFormBuilder::fieldsetTable()
File
- ./
availability_calendar.styles.inc, line 134
Class
Code
protected function fieldsetTable() {
$this->currentFieldset = 'table';
$this->form[$this->currentFieldset] = array(
'#type' => 'fieldset',
'#title' => t('Table'),
'#description' => t('Styles that define how the table will be displayed.'),
);
$this
->selectField('font-size', array(
'larger',
'smaller',
'xx-small',
'x-small',
'small',
'medium',
'large',
'x-large',
'xx-large',
));
$this
->colorField('color');
$this
->colorField('background-color');
$this
->lengthField('border-width');
$this
->colorField('border-color');
}