You are here

Functions in Booking and Availability Management Tools for Drupal 8

Primary tabs

Namesort descending Location Description Direct uses Strings
bat_booking_access modules/bat_booking/bat_booking.module Determines whether the given user has access to a unit. 1
bat_booking_add_end_date_field modules/bat_booking/bat_booking.module Add "End Date" field. 1
bat_booking_add_event_reference_field modules/bat_booking/bat_booking.module Add "Event" reference field. 1
bat_booking_add_start_date_field modules/bat_booking/bat_booking.module Add "Start Date" field. 1
bat_booking_create modules/bat_booking/bat_booking.module Create a booking object. 2
bat_booking_create_standard_booking_type modules/bat_booking/bat_booking.install Create "Standard" booking type. 1
bat_booking_delete modules/bat_booking/bat_booking.module Deletes a Bat Booking.
bat_booking_entity_insert modules/bat_booking/bat_booking.module Implements hook_entity_insert().
bat_booking_example_create_availability_event_type modules/bat_booking/bat_booking_example/bat_booking_example.install Create the "Availability Example" event type. 1
bat_booking_example_create_standard_event_states modules/bat_booking/bat_booking_example/bat_booking_example.install Creates the default event states. 1
bat_booking_example_delete_availability_event_type modules/bat_booking/bat_booking_example/bat_booking_example.install Delete the "Availability Example" event type. 1
bat_booking_example_install modules/bat_booking/bat_booking_example/bat_booking_example.install Implements hook_install().
bat_booking_example_theme modules/bat_booking/bat_booking_example/bat_booking_example.module Implements hook_theme().
bat_booking_example_uninstall modules/bat_booking/bat_booking_example/bat_booking_example.install Implements hook_uninstall().
bat_booking_get_bundles modules/bat_booking/bat_booking.module Gets an array of all booking types, keyed by the type name. 2
bat_booking_install modules/bat_booking/bat_booking.install Implements hook_install().
bat_booking_load modules/bat_booking/bat_booking.module Fetches a booking object.
bat_booking_load_multiple modules/bat_booking/bat_booking.module Loads multiple bookings based on certain conditions. 2
bat_booking_theme modules/bat_booking/bat_booking.module Implements hook_theme().
bat_booking_type_access modules/bat_booking/bat_booking.module Access callback for the entity API.
bat_booking_type_create modules/bat_booking/bat_booking.module Create a booking type object. 1
bat_booking_type_delete modules/bat_booking/bat_booking.module Deletes a booking type from the db.
bat_booking_type_load modules/bat_booking/bat_booking.module Menu argument loader; Load a booking bundle by string. 1
bat_booking_type_save modules/bat_booking/bat_booking.module Saves a booking type to the db.
bat_date_range_fields ./bat.module Utility function to create two related datepickers. 2
bat_entity_access ./bat.module Implements hook_entity_access(). 6
bat_entity_access_permissions ./bat.module Return permission names for a given entity type. 5
bat_entity_access_query_alter ./bat.module Implements hook_query_alter(). 4
bat_event_access modules/bat_event/bat_event.module Checks event access for various operations. 2
bat_event_constraints_get_info modules/bat_event/bat_event.module 3
bat_event_create modules/bat_event/bat_event.module Create a event object. 10
bat_event_create_event_type_schema modules/bat_event/bat_event.module Create 6 tables for store events of type $machine_name. 1
bat_event_create_state modules/bat_event/bat_event.module 1
bat_event_delete modules/bat_event/bat_event.module Deletes a event.
bat_event_delete_event_type_schema modules/bat_event/bat_event.module Given an event machine name drop all the tables that store event data for that event. 1
bat_event_delete_multiple modules/bat_event/bat_event.module Delete multiple events. 5
bat_event_entity_bundle_delete modules/bat_event/bat_event.module Implements hook_entity_bundle_delete().
bat_event_field_widget_form_alter modules/bat_event/bat_event.module Implements hook_field_widget_WIDGET_TYPE_form_alter().
bat_event_form_bat_type_bundle_edit_form_alter modules/bat_event/bat_event.module Implements hook_form_FORM_ID_alter().
bat_event_form_bat_type_bundle_form_submit modules/bat_event/bat_event.module Submit callback for bat_event_form_bat_type_bundle_form form. 1
bat_event_generate_day_schema_fields modules/bat_event/bat_event.module Creates the necessary day schema fields. 1
bat_event_generate_hour_schema_fields modules/bat_event/bat_event.module Creates the necessary hour schema fields. 1
bat_event_generate_minute_schema_fields modules/bat_event/bat_event.module Creates the necessary minute schema fields. 1
bat_event_get_calendar modules/bat_event/bat_event.module Retrieves relevant units and instantiates a BAT calendar object than can be reused. It is preferred to use this function to reduce the cost of setting up a calendar (i.e. loading units). 2
bat_event_get_calendar_response modules/bat_event/bat_event.module Given a date range and a set of valid states it will return all units within the set of valid states.
bat_event_get_event_type_tables modules/bat_event/bat_event.module Utility function to return the table names required to start an event using BAT conventions. 1
bat_event_get_matching_units modules/bat_event/bat_event.module Given a date range and a set of valid states it will return all units within the set of valid states.
bat_event_get_matching_units_from_calendar modules/bat_event/bat_event.module Returns matching units based on a provided Calendar. A Calendar can be instantiated in a number of ways - bat_event offers bat_event_get_calendar. Using an already setup calendar multiple times reduces overall load. 1
bat_event_get_states modules/bat_event/bat_event.module 4
bat_event_get_types modules/bat_event/bat_event.module Gets an array of all event types, keyed by the type name. 12

Pages

Other projects