protected function AvailabilityCalendarsStylesFormBuilder::fieldsetTable in Availability Calendars 6.2
Same name and namespace in other branches
- 7.2 availability_calendars.styles.inc \AvailabilityCalendarsStylesFormBuilder::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 AvailabilityCalendarsStylesFormBuilder::fieldsetTable()
File
- ./
availability_calendars.styles.inc, line 128
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');
}