You are here

function bat_type_load_revision in Booking and Availability Management Tools for Drupal 7

Parameters

int $revision_id:

9 calls to bat_type_load_revision()
bat_type_access_revision in modules/bat_unit/bat_unit.module
Determines whether the given user has access to a type revision.
bat_type_compare_revisions in modules/bat_unit/bat_type.diff.inc
Create a comparison for the type between versions 'old_revision_id' and 'new_revision_id'.
bat_type_handler_type_revision_operations_field::render in modules/bat_unit/views/bat_type_handler_type_revision_operations_field.inc
Render the field.
bat_type_handler_type_revision_status_field::render in modules/bat_unit/views/bat_type_handler_type_revision_status_field.inc
Render the field.
bat_type_revisioning_rules_action_load_current in modules/bat_unit/bat_unit.rules.inc
Action: load current revision of provided type.

... See full list

File

modules/bat_unit/bat_unit.module, line 1475

Code

function bat_type_load_revision($revision_id) {
  return entity_revision_load('bat_type', $revision_id);
}