function rooms_booking_set_breadcrumb in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7
Sets the breadcrumb for administrative rooms pages.
3 calls to rooms_booking_set_breadcrumb()
- rooms_booking_create_form_wrapper in modules/
rooms_booking/ rooms_booking.admin.inc - Form callback wrapper: create a Booking.
- rooms_booking_delete_form_wrapper in modules/
rooms_booking/ rooms_booking.admin.inc - Form callback wrapper: delete a booking.
- rooms_booking_form_wrapper in modules/
rooms_booking/ rooms_booking.admin.inc - Form callback wrapper: edit a Booking.
File
- modules/
rooms_booking/ rooms_booking.admin.inc, line 1446 - Rooms editing UI.
Code
function rooms_booking_set_breadcrumb() {
$breadcrumb = array(
l(t('Home'), '<front>'),
l(t('Administration'), 'admin'),
l(t('Rooms'), 'admin/rooms'),
l(t('Bookings'), 'admin/rooms/bookings'),
);
drupal_set_breadcrumb($breadcrumb);
}