protected function AvailabilityCalendarStylesFormBuilder::fieldsetCaption in Availability Calendars 7.5
Same name and namespace in other branches
- 7.3 availability_calendar.styles.inc \AvailabilityCalendarStylesFormBuilder::fieldsetCaption()
- 7.4 availability_calendar.styles.inc \AvailabilityCalendarStylesFormBuilder::fieldsetCaption()
Helper method to create the fieldset for the caption styles.
1 call to AvailabilityCalendarStylesFormBuilder::fieldsetCaption()
File
- ./
availability_calendar.styles.inc, line 148
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',
));
}