function rooms_variable_info in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7
Implements hook_variable_info().
File
- ./
rooms.variable.inc, line 10 - Variable API module. Definition for some xample variables
Code
function rooms_variable_info($options) {
$variables['rooms_arrival_date'] = array(
'type' => 'string',
'title' => t('Arrival Date'),
'default' => 'Arrival Date',
'description' => t('Change text : Arrival Date'),
'localize' => TRUE,
'group' => 'rooms',
);
$variables['rooms_departure_date'] = array(
'type' => 'string',
'title' => t('Departure Date'),
'default' => 'Departure Date',
'description' => t('Change text : Departure Date'),
'localize' => TRUE,
'group' => 'rooms',
);
return $variables;
}