You are here

public function Unit::getEventDefaultValue in Booking and Availability Management Tools for Drupal 8

Parameters

$event_type:

File

modules/bat_unit/src/Entity/Unit.php, line 275
Contains \Drupal\bat_unit\Entity\Unit.

Class

Unit
Defines the Unit entity.

Namespace

Drupal\bat_unit\Entity

Code

public function getEventDefaultValue($event_type) {
  $unit_type = $this
    ->getUnitType();
  return $unit_type
    ->getEventDefaultValue($event_type);
}