You are here

function rooms_unit_theme in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7

Implements hook_theme().

File

modules/rooms_unit/rooms_unit.module, line 571
Manage units - Units are things that can be booked on a nightly basis (e.g. rooms - but also villas bungalows, etc).

Code

function rooms_unit_theme() {
  return array(
    'rooms_unit_add_list' => array(
      'variables' => array(
        'content' => array(),
      ),
      'file' => 'rooms_unit.admin.inc',
    ),
    'rooms_unit' => array(
      'render element' => 'elements',
      'template' => 'rooms_unit',
    ),
    'rooms_unit_extra_data' => array(
      'variables' => array(
        'unit_extra_data',
        'unit' => NULL,
      ),
      'template' => 'rooms_unit-extra-data',
    ),
  );
}