You are here

6 calls to rooms_unit_create() in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7

FeatureContext::createUnits in test/features/bootstrap/FeatureContext.php
@Given /^"(?P<type>[^"]*)" units:$/
FeatureContext::createUnitsOfType in test/features/bootstrap/FeatureContext.php
@Given /^(\d+) units of type "([^"]*)"$/
RoomsUnitUIController::hook_menu in modules/rooms_unit/rooms_unit.admin.inc
Overrides hook_menu() defaults. Main reason for doing this is that parent class hook_menu() is optimized for entity type administration.
rooms_unit_create_form_wrapper in modules/rooms_unit/rooms_unit.admin.inc
Form callback wrapper: create a Unit.
rooms_unit_edit_form_submit in modules/rooms_unit/rooms_unit.admin.inc
Form API submit callback for the Unit form.
_rooms_unit_add_access in modules/rooms_unit/rooms_unit.module
Access callback: Checks whether the user has permission to add a unit.