You are here

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

Implements hook_views_api().

File

modules/rooms_unit/rooms_unit.module, line 561
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_views_api() {
  return array(
    'api' => 3,
    'path' => drupal_get_path('module', 'rooms_unit') . '/views',
  );
}