You are here

public function BatUnit::getEventDefaultValue in Booking and Availability Management Tools for Drupal 7

Parameters

string $event_type:

Return value

mixed

File

modules/bat_unit/bat_unit.module, line 1023

Class

BatUnit
The class used for unit entities.

Code

public function getEventDefaultValue($event_type) {
  $bat_type = bat_type_load($this->type_id);
  return $bat_type
    ->getEventDefaultValue($event_type);
}