protected function AvailabilityCalendarsStylesFormBuilder::fieldsetCaption in Availability Calendars 6.2
Same name and namespace in other branches
- 7.2 availability_calendars.styles.inc \AvailabilityCalendarsStylesFormBuilder::fieldsetCaption()
Helper method to return the fieldset for the caption styles
Return value
array an array with a number of form elements in a fieldset
1 call to AvailabilityCalendarsStylesFormBuilder::fieldsetCaption()
File
- ./
availability_calendars.styles.inc, line 147
Class
Code
protected function fieldsetCaption() {
$this->currentFieldset = 'caption';
$this->form[$this->currentFieldset] = array(
'#type' => 'fieldset',
'#title' => t('Caption'),
'#description' => t('Styles that define how the name of the month will be displayed.'),
);
$this
->selectField('text-align', array(
'left',
'right',
'center',
'inherit',
));
$this
->selectField('font-weight', array(
'normal',
'bold',
'bolder',
'lighter',
'inherit',
));
$this
->selectField('font-style', array(
'normal',
'italic',
'oblique',
'inherit',
));
$this
->selectField('font-size', array(
'larger',
'smaller',
'xx-small',
'x-small',
'small',
'medium',
'large',
'x-large',
'xx-large',
'inherit',
));
}